摘要:
import requestsimport sysimport iofrom lxml import html''' 需求分析 爬取博客园的帖子 url = https://www.cnblogs.com/ 源码分析 代码实现 1.根据入口url请求源码 2.提前数据(每篇帖子的ur) 3.根据ur 阅读全文
posted @ 2020-03-24 22:20
gz_wth
阅读(146)
评论(0)
推荐(0)
摘要:
sys.stdout = io.TextIOWrapper(sys.stdout.buffer,encoding='gb18030') 阅读全文
posted @ 2020-03-24 22:18
gz_wth
阅读(174)
评论(0)
推荐(0)

浙公网安备 33010602011771号