NewsSpider icon indicating copy to clipboard operation
NewsSpider copied to clipboard

爬取今日头条

Open chenting0324 opened this issue 6 years ago • 1 comments

你好,我在运行./start.sh时出现如下问题 File "/home/i-chenting/NewsSpider-master/news_spider/news_spider/spiders/TouTiaoSpider.py", line 41, in parseNews title = articles.xpath("//div[@class='article-header']/h1/text()").extract()[0] IndexError: list index out of range 请问是什么原因

chenting0324 avatar Jul 25 '18 09:07 chenting0324

老哥项目运行起来了吗

laozhu123 avatar Sep 29 '18 01:09 laozhu123