摘要: import requests url = "http://news.gzcc.cn/html/xiaoyuanxinwen/" res = requests.get(url) res.encoding = 'utf-8' # 利用BeautifulSoup的HTML解析器,生成结构树 from bs4 import BeautifulSoup soup = BeautifulSoup(r... 阅读全文
posted @ 2018-04-04 16:38 157-符致伟 阅读(88) 评论(0) 推荐(0) 编辑