Created
June 19, 2017 13:57
-
-
Save osanyin/ef7d28f4a17fd3a7b984b66d13cdff10 to your computer and use it in GitHub Desktop.
spider_pipeline.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class BookSpider(BaseSpider): | |
| name = "book_spider" | |
| custom_settings = { | |
| 'ITEM_PIPELINES': { | |
| 'my_app.pipelines.BookPipeline': 300, | |
| } | |
| } | |
| def parse(self, response): | |
| return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment