![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
程序
creepyzzz
Hey...
展开
-
python error:‘gbk‘ codec can‘t encode character ‘\xa0‘ in position 389: illegal multibyte sequence
unicodedata.normalize("NFKD", unicode_str)import unicodedatatext_string = BeautifulSoup(raw_html, "lxml").textclean_text = unicodedata.normalize("NFKD",text_string)print clean_textREF:https://stackoverflow.com/questions/10993612/how-to-remove-xa0.转载 2021-05-17 16:58:00 · 113 阅读 · 0 评论 -
chromedriver驱动下载(不同版本)
怎么查看chrome当前version?chrome://versionCurrent Releases If you are using Chrome version 91, please downloadChromeDriver 91.0.4472.19 winhttps://download.csdn.net/download/allisonhuang/18780690 linuxhttps://download.csdn.net/download/allison...原创 2021-05-16 19:53:43 · 1444 阅读 · 0 评论