2018年3月29日

摘要: import requests from bs4 import BeautifulSoup res = requests.get('https://www.cnblogs.com/') res.encoding = 'UTF-8' soup = BeautifulSoup(res.text, 'html.parser') # 取出h1标签的文本 for h1 in soup.find_all(... 阅读全文
posted @ 2018-03-29 20:53 155林俊彪 阅读(84) 评论(0) 推荐(0) 编辑

导航