摘要:
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林俊彪
阅读(88)
评论(0)
推荐(0)

浙公网安备 33010602011771号