![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
scrapy-爬虫
JempChou
学习学习,天天向上
展开
-
运行scrapy shell 'http://quotes.toscrape.com'出现错误ValueError: invalid hostname: 'http
运行scrapy shell r’http://quotes.toscrape.com‘出现错误ValueError: invalid hostname: r’http我在学习python的scrapy框架时,在windows10下面运行cmd后,在命令行里输入scrapy shell ‘http://quotes.toscrape.com‘命令时报错ValueError: invalid host原创 2017-05-20 12:34:50 · 5016 阅读 · 4 评论 -
scrapy:使用response.follow()方法时出现AttributeError: 'HtmlResponse' object has no attribute 'follow'
运行scrapy出现AttributeError: ‘HtmlResponse’ object has no attribute ‘follow’详细错误:2017-05-20 22:58:44 [scrapy.utils.log] INFO: Scrapy 1.3.3 started (bot: my_project) 2017-05-20 22:58:44 [scrapy.utils.log]原创 2017-05-20 23:15:33 · 6305 阅读 · 0 评论