how can i do a scrapy spider that runs "forever".
So i will start again when it gets def closed(self, spider):
This is the function that calls when its at the end. I tested it with print a text. So everytime at the end, i have that text.
But how can i start the spider than again?
class Spider(scrapy.Spider):
def start_requests(self):
Spidercode...
def closed(self, spider):
print('END');
The spider start every round with "start_requests" and ends with closed()