- 博客(6)
- 问答 (2)
- 收藏
- 关注
原创 python+selenium去学校教务在线查询本学期成绩
from selenium import webdriverfrom selenium.webdriver.common.action_chains import ActionChainsimport pytesseractfrom PIL import Imageimport timefrom selenium.webdriver.common.keys import Keysdriver = webdriver.Chrome()driver.maximize_window()drive.
2020-07-20 09:15:51
365
原创 python+selenium填写一次学校试卷
from selenium import webdriverfrom selenium.webdriver.common.keys import Keysimport timedriver = webdriver.Chrome()url = 'http://cots.ccnu.edu.cn/index/index/student.html#'driver.get(url)driver.implicitly_wait(20)search = driver.find_elements_by_cla
2020-07-18 12:18:30
853
原创 python+selenium爬取淘宝羽毛球拍信息
数据量很大,就爬取前五页偷下懒from selenium import webdriverimport pandas as pdimport openpyxlimport timedriver = webdriver.Chrome()url = 'https://s.taobao.com/search?q=羽毛球拍'driver.get(url)driver.implicitly_wait(20)namelist = []pricelist = []weblist = []locat
2020-07-15 11:43:41
578
5
原创 python爬取中羽在线羽坛动态
import requestsfrom bs4 import BeautifulSoupheaders={'user-agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36'}urls=['https://www.badmintoncn.com/list-13-{}.html'.format(number).
2020-06-27 10:34:53
332
原创 爬取网易云新歌榜并下载其中的歌曲
import requestsfrom bs4 import BeautifulSoupheaders={'user-agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36'}res=requests.get('https://music.163.com/discover/toplist?id=3779629'
2020-06-19 12:00:13
2516
2
原创 爬取其乐社区最新主题
import requestsfrom bs4 import BeautifulSoupheaders={'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36'}res=requests.get('https://keylol.com/',headers=headers)soup=Beautifu
2020-06-15 09:01:52
607
空空如也
个人博客的mongo数据库里面里面总是出现HNAP1和xmlrpc.php等奇怪的集合
2021-08-10
请问 为什么网易云音乐新歌榜爬取返回空值
2020-06-16
TA创建的收藏夹 TA关注的收藏夹
TA关注的人