Scrapy with multiple pages
问题 I have created a simple scrapy project, In which, I got the total page number from the initial site example.com/full. Now I need to scrape all the page starting from example.com/page-2 to 100(if total page count is 100). How can I do that? Any advice would be helpful. Code: import scrapy class AllSpider(scrapy.Spider): name = 'all' allowed_domains = ['example.com'] start_urls = ['https://example.com/full/'] total_pages = 0 def parse(self, response): total_pages = response.xpath("//body