随笔分类 -  python爬虫

摘要:首先,确认爬取目标: http://www.weather.com.cn/weather/101010100.shtml 爬取代码: import requests from bs4 import BeautifulSoup import csv import json def getHTMLtex 阅读全文
posted @ 2022-07-05 10:48 含笑半步颠√ 阅读(228) 评论(0) 推荐(0) 编辑
摘要:这里先说下思路: 1、首先要获取当前书的音频信息 2、然后遍历保存 3、最后直接上代码啦! 阅读全文
posted @ 2018-07-25 16:54 含笑半步颠√ 阅读(658) 评论(0) 推荐(0) 编辑
摘要:小编是个爱看小说的人,哈哈 阅读全文
posted @ 2018-07-25 16:51 含笑半步颠√ 阅读(627) 评论(0) 推荐(0) 编辑
摘要:''' 作者:Caric_lee 日期:2018 查看图片 ''' import requests from bs4 import BeautifulSoup r = requests.get("http://www.80txt.com/sort3/1.html") m = r.content.decode("utf-8") tupian = BeautifulSoup(m, "html.pa... 阅读全文
posted @ 2018-07-25 16:48 含笑半步颠√ 阅读(205) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示