摘要: import os import requests from bs4 import BeautifulSoup # 登陆, 模仿用户浏览器 r1 = requests.get( # 要爬取的网页 url='https://dig.chouti.com/', # 浏览器的信息 headers={ 'user-agent':'Mozilla/5.0 (... 阅读全文
posted @ 2018-04-22 11:03 aaronthon 阅读(382) 评论(0) 推荐(0) 编辑