05 2020 档案

摘要:谏言:穷则独善其身,达则兼济天下 爬取笑话网分页数据 # 请求第三方库 import requests # 数据第三方库 from pyquery import PyQuery as pq def XiaoHua(page): url='http://xiaohua.zol.com.cn/youmo 阅读全文
posted @ 2020-05-07 00:06 过气诗人 阅读(136) 评论(0) 推荐(0)
摘要:谏言:穷则独善其身,达则兼济天下 爬取B站弹幕数据进行词云显示 import requests import re import csv headers={ 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/53 阅读全文
posted @ 2020-05-05 23:15 过气诗人 阅读(130) 评论(0) 推荐(0)
摘要:谏言:穷则独善其身,达则兼济天下 import requests # 请求地址 def get_lol_list(): url='https://game.gtimg.cn/images/lol/act/img/js/heroList/hero_list.js' # 请求头 headers={ 'U 阅读全文
posted @ 2020-05-03 23:24 过气诗人 阅读(112) 评论(0) 推荐(0)
摘要:谏言:穷则独善其身,达则兼济天下 爬取高考网数据: import requests from bs4 import BeautifulSoup from pyecharts import options from pyecharts.charts import Bar # 文科 def wenkec 阅读全文
posted @ 2020-05-03 00:17 过气诗人 阅读(150) 评论(0) 推荐(0)
摘要:谏言:穷则独善其身,达则兼济天下 抓取腾讯招聘信息 # 抓取用户指定的关键词的所有工作岗位 import requests # 导入请求库 def get_jobs( keyword,pageIndex): # 传入工作岗位keyword url='https://careers.tencent.c 阅读全文
posted @ 2020-05-01 22:44 过气诗人 阅读(164) 评论(0) 推荐(0)