Answer the question
In order to leave comments, you need to log in
How to send the same address to Request multiple times in Scrapy?
Good afternoon!
When submitting the form, I ran into a problem - the same address is not sent again. Apparently Scrapy has re-submissions of the same links disabled by default. What setting gives me this option?
UPD. If used like this:
def parse(self):
for data in years[1:8]:
return Request(link, formdata={'year': str(data)}, callback=self.parse_year
def parse_year(self, response):
print 'Hello!'
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question