摘要: # import requests class Music: def save(self,url): res=requests.get(url) with open('music.mp3','wb') as f: f.write(res.content) 阅读全文
posted @ 2023-07-16 18:43 sszqxt 阅读(92) 评论(0) 推荐(0) 编辑
摘要: import requests def extract_video_links(url): """ 提取视频链接 """ response = requests.get(url) html = response.text # 在HTML中查找视频链接 pattern = r'src="([^"]+\ 阅读全文
posted @ 2023-07-16 18:40 sszqxt 阅读(198) 评论(1) 推荐(0) 编辑