摘要: 1、网页输出乱码的解决办法 r= requests.get('https://www.baidu.com/') r.encoding = 'gbk2312' #有可能 gbk、utf-8 soup=BeautifulSoup(r.text,"html.parser") 来源:https://blog 阅读全文
posted @ 2019-08-18 13:43 凯宾斯基 阅读(383) 评论(1) 推荐(0)