Commit 72630a62 by leiliangliang

微博要闻榜采集程序更新

parent 2d38ea3f
...@@ -140,7 +140,7 @@ public class WeiboNewsCrawler { ...@@ -140,7 +140,7 @@ public class WeiboNewsCrawler {
String iconUrl = cardInfo.getString("title_flag_pic"); String iconUrl = cardInfo.getString("title_flag_pic");
String icon = null; String icon = null;
if (StringUtils.isNotBlank(iconUrl)) { if (StringUtils.isNotBlank(iconUrl)) {
icon = iconUrl.split("card8_")[1].split(".png")[0]; icon = iconUrl.split("_")[1];
} }
//获取链接 //获取链接
String id = cardInfo.getString("scheme"); String id = cardInfo.getString("scheme");
......
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