You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, @chenjiandongx
I couldn't solve the problem as below via google it
$ scrapy crawl stackoverflow -o a.csv
...
2018-11-09 20:01:37 [scrapy.core.scraper] ERROR: Spider error processing <GET https://stackoverflow.com/questions?page=3&sort=votes&pagesize=50> (referer: None)
Traceback (most recent call last):
File "~/anaconda3/lib/python3.6/site-packages/scrapy/utils/defer.py", line 102, in iter_errback
yield next(it)
File "~/anaconda3/lib/python3.6/site-packages/scrapy/spidermiddlewares/offsite.py", line 30, in process_spider_output
for x in result:
File "~/anaconda3/lib/python3.6/site-packages/scrapy/spidermiddlewares/referer.py", line 339, in <genexpr>
return (_set_referer(r) for r in result or ())
File "~/anaconda3/lib/python3.6/site-packages/scrapy/spidermiddlewares/urllength.py", line 37, in <genexpr>
return (r for r in result or () if _filter(r))
File "~/anaconda3/lib/python3.6/site-packages/scrapy/spidermiddlewares/depth.py", line 58, in <genexpr>
return (r for r in result or () if _filter(r))
File "~/stackoverflow-spider/stackoverflow/spiders/stackoverflow_spider.py", line 48, in parse
sel.xpath('div[1]/div[3]/@title').extract()).split()[0].replace(",", "")
IndexError: list index out of range
Thank you!
The text was updated successfully, but these errors were encountered:
Hi, @chenjiandongx
I couldn't solve the problem as below via google it
Thank you!
The text was updated successfully, but these errors were encountered: