摘要: 官网:https://www.crummy.com/software/BeautifulSoup/bs4/doc/ 菜鸟教程:http://www.jsphp.net/python/show-24-214-1.html 自己写的日记:https://i-beta.cnblogs.com/diarie 阅读全文
posted @ 2019-11-13 09:31 市丸银 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 官网: https://requests.kennethreitz.org//zh_CN/latest/user/quickstart.html 测试网站:httpbin.org 注意:其它看官网 1、带headers的请求 2、带cookies的请求 3、带Basic-auth(auth)的请求 阅读全文
posted @ 2019-11-13 09:29 市丸银 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 遇到的情况 1、href或src中没有url,需要自己观察不同url的区别,并找出规律 2、href或src有值,但xpath取不到值,需要借助XHR(ajax请求),观察请求的ur的不同并找出规律 阅读全文
posted @ 2019-11-13 09:21 市丸银 阅读(110) 评论(0) 推荐(0) 编辑