摘要: def getNewDetail(newsUrl): # 标题 newTitle = new.select('.news-list-title')[0].text # 时间 time = new.select('span')[0].text # 来源 resource = new.select('s 阅读全文
posted @ 2018-04-10 17:43 QH.Thomas 阅读(210) 评论(0) 推荐(0) 编辑
摘要: import reimport requestsnewsurl = 'http://news.gzcc.cn/html/2018/xiaoyuanxinwen_0925/8249.html'def getClickCount(newsurl): mymach = re.match('http://n 阅读全文
posted @ 2018-04-10 16:20 QH.Thomas 阅读(260) 评论(0) 推荐(0) 编辑