Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

scrapy link extractors in regular spiders

def parse(self, response):
    for link in self.link_extractor.extract_links(response):
        yield Request(link.url, callback=self.parse)
Source by docs.scrapy.org #
 
PREVIOUS NEXT
Tagged: #scrapy #link #extractors #regular #spiders
ADD COMMENT
Topic
Name
7+8 =