摘要: 用requests库和BeautifulSoup4库,爬取校园新闻列表的时间、标题、链接、来源。 import requestsfrom bs4 import BeautifulSoupurl='http://news.gzcc.cn/html/xiaoyuanxinwen/'res=request 阅读全文