python爬虫教程i-python爬虫教程之美丽汤(一)
# python 爬虫之美丽汤 BeautifulSoup作者: jwang1061. 使用requests获取网页的html源码import requestsfrom bs4 import BeautifulSoupresponse = requests.get('https://www.autohome.com.cn/news/')response.encoding = response.ap...