Commit b6b50e01 by chenweitao

Merge branch 'working' into 'master'

更新微博话题采集程序

See merge request !177
parents ccbd8308 206c358e
...@@ -222,7 +222,7 @@ public class GatherTimer { ...@@ -222,7 +222,7 @@ public class GatherTimer {
public void crawlerWeiBoTopic(){ public void crawlerWeiBoTopic(){
log.info("微博话题开始采集..."); log.info("微博话题开始采集...");
Date date = DateUtils.getMillSecondTime(new Date()); Date date = DateUtils.getMillSecondTime(new Date());
List<HotSearchList> list = WeiboTopicCrawler.startCrawlerByPhone(date); List<HotSearchList> list = WeiboTopicCrawler.startCrawlerByPc(date);
log.info("{}, 微博话题此轮采集到的数据量为:{}", new Date(), Integer.valueOf(list != null ? list.size() : 0)); log.info("{}, 微博话题此轮采集到的数据量为:{}", new Date(), Integer.valueOf(list != null ? list.size() : 0));
TipsUtils.addHotList(HotSearchType.微博话题.name(),list); TipsUtils.addHotList(HotSearchType.微博话题.name(),list);
log.info("微博话题采集结束..."); log.info("微博话题采集结束...");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment