摘要: 在使用urlopen的时候经常出现HTTP Error 403: Forbidden的问题, 这个问题是因为服务器在收到这个请求的时候并不知道发送请求的浏览器,系统的硬件信息.为了解决这个方案,只需要我们手动添加即可 这样就解决了. 我的csdn博客地址:http://blog.csdn.net/f 阅读全文
posted @ 2017-03-21 21:34 FontTian 阅读(11782) 评论(0) 推荐(1) 编辑
摘要: BeautifulSoup([your markup]) to this: BeautifulSoup([your markup], "lxml") markup_type=markup_type)) 阅读全文
posted @ 2017-03-21 21:29 FontTian 阅读(5671) 评论(0) 推荐(0) 编辑