摘要: http://www.jianshu.com/p/50c5815bb60b# http://blog.csdn.net/hudeyu777/article/details/76706007 阅读全文
posted @ 2017-08-28 21:13 layfork 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 1.在使用requests前加入:requests.packages.urllib3.disable_warnings()2.为requests添加verify=False参数,比如:r = requests.get('https://blog.bbzhh.com',verify=False) 阅读全文
posted @ 2017-08-28 19:30 layfork 阅读(292) 评论(0) 推荐(0) 编辑
摘要: headers = { "Accept":"text/html,application/xhtml+xml,application/xml;", "Accept-Encoding":"gzip", "Accept-Language":"zh-CN,zh;q=0.8", "User-Agent":"Mo... 阅读全文
posted @ 2017-08-28 17:27 layfork 阅读(859) 评论(0) 推荐(0) 编辑
摘要: 更多例子 http://phantomjs.org/examples/index.html 阅读全文
posted @ 2017-08-28 14:41 layfork 阅读(174) 评论(0) 推荐(0) 编辑