
python爬虫
无悔_一叶扁舟
人生有一种追求不是功名利禄,而是一生无悔不为昨天而后悔,不为明天而迷茫把握好今天,谨慎的走好人生的每一步
展开
-
爬虫学习笔记--爬取豆瓣,有道,人人网的简单使用urllib库
1.爬取有道翻译"""通过post提交,访问有道翻译,得到翻译的数据author:一叶扁舟说明:使用的python3.7"""import urllibimport urllib.request# 通过抓包的方式获取的url,并不是浏览器上显示的url,或者谷歌浏览器打开开发则调试工具,查看访问请求# url = "http://fanyi.youdao.com/trans...原创 2018-07-28 18:04:41 · 294 阅读 · 0 评论 -
python爬取腾讯招聘的职位
1.新建项目使用命令scrapy startproject tencentcrawl2.进入tencentcrawl\spidersscrapy genspider -t crawl tencent hr.tencent.com-t是模板的意思3.编写items.py文件# -*- coding: utf-8 -*-# Define here the model...原创 2018-09-16 16:31:55 · 1098 阅读 · 0 评论