摘要: import requests from bs4 import BeautifulSoup newsurl='http://news.gzcc.cn/html/xiaoyuanxinwen/' res = requests.get(newsurl) #返回response对象 res.encoding='utf-8' soup = BeautifulSoup(res.text,'htm... 阅读全文
posted @ 2018-03-29 19:49 183区展伯 阅读(110) 评论(0) 推荐(0) 编辑