bs4 爬虫入门
https://blog.csdn.net/haoxun05/article/details/104506184/?utm_medium=distribute.pc_relevant.none-task-blog-title-5&spm=1001.2101.3001.4242
import requests
from bs4 import BeautifulSoup
url = "https://new.qq.com/omn/20180705/20180705A0920X.html"
r = requests.get(url)
htmls = r.text
#print(htmls)
soup = BeautifulSoup(htmls, 'html.parser')
print(soup)
联系QQ邮箱:2433973080@qq.com

浙公网安备 33010602011771号