摘要: import requests from bs4 import BeautifulSoup import re def getHTMLText(url): try: r = requests.get(url) r.raise_for_status() r.encoding = 'utf-8' return r.text ... 阅读全文
posted @ 2018-08-24 15:56 菜鸟key 阅读(209) 评论(0) 推荐(0) 编辑
摘要: 见下载文档 阅读全文
posted @ 2018-08-24 09:34 菜鸟key 阅读(202) 评论(0) 推荐(0) 编辑