爬取校园新闻
摘要:
def getNewsId(url): newsId = re.findall(r'\_(.*).html', newsUrl)[0][-4:] clickUrl = 'http://oa.gzcc.cn/api.php?op=count&id={}&modelid=80'.format(newsId) clickRes = requests.get(clickUrl)... 阅读全文
posted @ 2018-04-03 14:36 阿丹丹酱 阅读(133) 评论(0) 推荐(0) 编辑