I am scraping a page. I made two loops
but the first loop is only taking transcription_price
value not the last two one. Why and how to solve this problem?
def start_requests(self):
links = {'transcription_page': 'https://www.rev.com/freelancers/transcription',
'captions_page': 'https://www.rev.com/freelancers/captions',
'subtitles_page': 'https://www.rev.com/freelancers/subtitles'
}
call = [self.parse_transcription,self.parse_caption,self.parse_subtitles]
for link in links.values():
for n in range(0,3):
return [scrapy.Request(link, callback=call[n])]