摘要: # Python 爬虫项目1 ● Python 网页请求 requests POST GET 网页状态码 通过标签匹配内容 通过浏览器复制 copy selector title 的类型还是 标签 Tag soup.body.div.div.a 方式获取 python 使用代理发送网页请求 阅读全文
posted @ 2017-07-27 12:16 ☆﹎夜﹎☆ 阅读(176) 评论(0) 推荐(0) 编辑
摘要: # Python 爬虫基础知识 ● Python 爬虫基础知识 安装爬虫库 beautifulsoup4 pip install beautifulsoup4 lxml HTML 解析器 pip install html5lib html5lib pip install html5lib ● 使用库 阅读全文
posted @ 2017-07-27 09:00 ☆﹎夜﹎☆ 阅读(146) 评论(0) 推荐(0) 编辑