摘要: Urllib库 python内置的http请求库 1、urllib.request 请求模块 2、urllib.error 异常处理模块(try,catch) 3、urllib.parse url解析模块 4、urllib.robotparser robots.txr解析模块 urlopen get 阅读全文
posted @ 2017-12-25 19:13 月河 阅读(280) 评论(0) 推荐(0)
摘要: urllib 库 urllib.request库 re库 以上三个基本上python3内置 剩下的用第三方pip安装 1、pip install requsets 返回响应status 2、pip install selenium(驱动浏览器、自动化测试) 大多数网页存在js渲染,普通request 阅读全文
posted @ 2017-12-25 14:30 月河 阅读(307) 评论(0) 推荐(0)