摘要:
import requests from bs4 import BeautifulSoup res = requests.get('https://www.bilibili.com/') res.encoding = 'UTF-8' soup = BeautifulSoup(res.text, 'html.parser') # 取出h1标签的文本 for h1 in soup.find_all... 阅读全文
posted @ 2018-03-29 20:58
181冯荣彬
阅读(119)
评论(0)
推荐(0)

浙公网安备 33010602011771号