I used scrapyd run scrapy jobs.
And the 127.0.0.1:6800
show the job is finished.
But I open the log,it didn't have error message or finished info like this
{'downloader/request_bytes': 1685,
'downloader/request_count': 4,
'downloader/request_method_count/GET': 4,
'downloader/response_bytes': 172338,
'downloader/response_count': 4,
'downloader/response_status_count/200': 4,
'finish_reason': 'finished',
'finish_time': datetime.datetime(2015, 1, 7, 0, 7, 32, 480907),
'log_count/DEBUG': 6,
'log_count/INFO': 83,
'request_depth_max': 1,
'response_received_count': 4,
'scheduler/dequeued': 4,
'scheduler/dequeued/memory': 4,
'scheduler/enqueued': 4,
'scheduler/enqueued/memory': 4,
'start_time': datetime.datetime(2015, 1, 7, 0, 6, 32, 32624)}
This spider have to crawl 4000 links,But it seems like it stop at the 329 link.
How would this happened?
This is my start_urls
I select the links from database(there are 4000 links):
def start_requests(self):
obj = MTheater.objects.filter(country='US')
for i in obj:
link = i.link
yield Request(url=link, callback=self.parse)
Please give me some direction,Thank you sou much.