Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- __author__ = 'alejandro'
- from scrapy.spiders import Spider
- from scrapy.http import Request
- ITEM_PIPELINES = {'scrapy.pipelines.files.FilesPipeline': 1}
- FILES_STORE = '/home/alejandro/Mates/Alumnecol./Programes/Especies/Drosophila'
- class MySpider(Spider):
- def parse(self, response):
- print( "RGEWREWTTTT")
- name = 'files'
- start_url = ['https://www.briandunning.com/sample-data', ]
- def parses(self, response):
- self.log('A response from %s just arrived!' % response.url)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement