scrapy.exporters.PythonItemExporter - python examples

Here are the examples of the python api scrapy.exporters.PythonItemExporter taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

0 View Complete Implementation : writer.py
Copyright MIT License
Author : TeamHG-Memex
    def __init__(self, *args, **kwargs):
        self._encoder = ScrapyJSONEncoder()
        self._exporter = PythonItemExporter(binary=False)
        kwargs.setdefault('value_serializer', self._serialize_value)
        super(ScrapyKafkaTopicWriter, self).__init__(*args, **kwargs)