![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
错误总结
ysu_jiang
这个作者很懒,什么都没留下…
展开
-
UnicodeEncodeError: 'latin-1' codec can't encode character '\u2026' in position 30: ordinal not in r
运行淘宝图片爬取,经常出错` import urllib.request import re keyname = "秋上新" key = urllib.request.quote(keyname) headers = ("User-Agent" , "Mozilla/5.0 (Windows NT 10.0; …) Gecko/20100101 Firefox/62.0") openers = u...原创 2018-09-25 16:00:50 · 4853 阅读 · 0 评论 -
在火狐浏览器中导入fiddlerroot证书,出现连接不安全的问题
打开火狐浏览器中的选项→隐私与安全→查看证书→找到 DO_NOT_TRUST_FiddlerRoot→编辑信任→只需把编辑信任设置中所有的全都打上对勾 导入fiddlerroot证书 解决fiddler不能抓取firefox浏览器包的问题(https网址)。导入方法: https://blog.csdn.net/jimmyandrushking/article/details/8081910...原创 2018-09-27 08:51:18 · 5970 阅读 · 0 评论 -
anaconda如何安装scrapy框架
打开Anaconda Prompt 1.安装scrapy 输入命令conda install scrapy 2.安装依赖包 输入命令conda install service_identity 切记:关闭fiddler 出现的错误 There was a problem confirming the ssl certificate: HTTPSConnectionPool(host=‘pypi.o...原创 2018-10-19 18:00:09 · 558 阅读 · 0 评论 -
MySQL写入时中文变成繁体字,解决方法
mysql> set character_set_client=utf8; Query OK, 0 rows affected (0.00 sec) mysql> set character_set_connection=utf8; Query OK, 0 rows affected (0.00 sec) mysql> set character_set_databas...原创 2018-11-22 20:47:29 · 4152 阅读 · 5 评论