![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
scrapy
”小王同学”
成长记录
展开
-
在scrapy爬取微博热评时出现MySQLdb._exceptions.ProgrammingError错误
问题代码: MySQLdb._exceptions.ProgrammingError: (1064, "You have an error in your SQL syntax; check the manual that corresponds to you r MySQL server version for the right syntax to use near 'read,mention) values ('家长偏心对孩子的影响有多大',15424499,5655)' at line 1")原创 2021-10-21 21:37:57 · 276 阅读 · 0 评论 -
scrapy 爬取网页详细信息时出现KeyError: ‘item‘问题
在爬取租房信息时,当进入详细页面爬取时就会出现报错: Traceback (most recent call last): File "c:\users\yy\appdata\local\programs\python\python39\lib\site-packages\scrapy\utils\defer.py", line 120, in iter_errback yield next(it) File "c:\users\yy\appdata\local\programs\pyt原创 2021-10-07 19:11:41 · 883 阅读 · 1 评论