It is the path you have chosen. Take pride in it. Kotomine Kirei

黑猫回收者

2015年12月4日

关于python的requests库抓取源文件中文乱码的情况

摘要: 1 import requests 2 3 html=requests.get('http://www.12306.cn/mormhweb/')4 5 print html.textView Code刚开始是这么写的,运行时一直弹出错误之后加上了html.encoding='utf-8'完美解决 阅读全文

posted @ 2015-12-04 06:02 黑猫回收者 阅读(272) 评论(0) 推荐(0)

导航