![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python爬虫
文章平均质量分 65
爬虫学习
暴走的测试工程师
这个作者很懒,什么都没留下…
展开
-
爬取音乐mp3
# 下载歌曲代码,可以下载 周杰伦 的哦!给各位杰迷的福利哦!!!哈哈哈 # coding=utf-8 import requests,json,os,time from urllib import parse # 获取歌曲列表提取MP3链接地址 def get_music_list(keywords, page): encodeKeyWords = parse.quote(keywords) #quote()将字符串进行编码 url =...原创 2021-03-15 09:26:39 · 530 阅读 · 0 评论 -
python 爬取视频
# coding=utf-8 from selenium import webdriver import requests,time,datetime,os,re def get_m3u8_url(videoName): driver = webdriver.Chrome() driver.maximize_window() driver.get("http://ys6080.com") time.sleep(2) driver.find_element_by_xpath('(//inp.原创 2020-12-06 16:58:34 · 1295 阅读 · 0 评论 -
python 使用 requests 库爬取百度图片脚本
# coding = utf-8 """ 爬取百度壁纸图片 """ import requests,re,time,warnings,os warnings.filterwarnings("ignore") def search(key_word): # 百度获取风景壁纸图片Url地址 search_url = "https://image.baidu.com/sear...原创 2020-04-17 11:49:44 · 915 阅读 · 0 评论