爬取百度熱點新聞排行榜

import requests from bs4 import BeautifulSoup def get_html(url,headers): r = requests.get(url,headers=headers) r.encoding = r.apparent_encoding return r.text def get_pages(html): soup =
相關文章
相關標籤/搜索