Advertisement
Guest User

Untitled

a guest
Aug 1st, 2015
255
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. __author__ = 'alejandro'
  2.  
  3. from scrapy.spiders import Spider
  4. from scrapy.http import Request
  5.  
  6.  
  7. ITEM_PIPELINES = {'scrapy.pipelines.files.FilesPipeline': 1}
  8. FILES_STORE = '/home/alejandro/Mates/Alumnecol./Programes/Especies/Drosophila'
  9.  
  10.  
  11. class MySpider(Spider):
  12. def parse(self, response):
  13. print( "RGEWREWTTTT")
  14.  
  15. name = 'files'
  16. start_url = ['https://www.briandunning.com/sample-data', ]
  17.  
  18. def parses(self, response):
  19. self.log('A response from %s just arrived!' % response.url)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement