随笔分类 - 爬虫
摘要:转:http://www.cnblogs.com/Lands-ljk/p/5447127.html 1.基本方法 urllib.request.urlopen(url, data=None, [timeout, ]*, cafile=None, capath=None, cadefault=Fals
阅读全文
摘要:工具 python3.5 BeautifulSoup 步骤: 1、根据url抓取豆瓣电影html,并解析 2、BeautifulSoup截取节点,写入字典 3、保存字典信息
阅读全文
摘要:1、安装python3 2.安装requests库, pip install requests 3.requests 库的使用 3.1 requests的七种使用方法 requests.request() 构造一个人请求,支撑一下的各种方法的基础方法 requests.get() 获取HTML网页的
阅读全文

浙公网安备 33010602011771号