摘要: 一 介绍 官网:http://selenium-python.readthedocs.io 二 安装 #安装:selenium+chromedriver pip3 install selenium 下载chromdriver.exe放到python安装路径的scripts目录中即可,注意最新版本是2 阅读全文
posted @ 2018-01-17 09:55 Richie` 阅读(448) 评论(0) 推荐(0)
摘要: 一 爬虫是什么 二 爬虫的基本流程 三 请求与响应 四 Request 五 Response 六 总结 import requests import re import time import hashlib def get_page(url): print('GET %s' %url) try: 阅读全文
posted @ 2018-01-17 09:05 Richie` 阅读(308) 评论(0) 推荐(0)