程序
creepyzzz
Hey...
展开
-
python error:‘gbk‘ codec can‘t encode character ‘\xa0‘ in position 389: illegal multibyte sequence
unicodedata.normalize("NFKD", unicode_str) import unicodedata text_string = BeautifulSoup(raw_html, "lxml").text clean_text = unicodedata.normalize("NFKD",text_string) print clean_text REF:https://stackoverflow.com/questions/10993612/how-to-remove-xa0.转载 2021-05-17 16:58:00 · 109 阅读 · 0 评论 -
chromedriver驱动下载(不同版本)
怎么查看chrome当前version?chrome://version Current 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 · 1374 阅读 · 0 评论