Commit 5f1df7e8 by leiliangliang

更新脉脉热榜链接采集

parent 4f801bb5
...@@ -61,7 +61,9 @@ public class MaiMaiHotSearchCrawler { ...@@ -61,7 +61,9 @@ public class MaiMaiHotSearchCrawler {
if (name.length()>nameLengthMax){ if (name.length()>nameLengthMax){
name = name.substring(0,nameLengthMax); name = name.substring(0,nameLengthMax);
} }
String maimaiUrl = jsonObject.getString("share_url"); String id = jsonObject.getString("id");
String egid = jsonObject.getString("egid");
String maimaiUrl="https://maimai.cn/web/gossip_detail/"+id+"?egid="+egid;
String icon = null; String icon = null;
if (jsonObject.containsKey("hot_type_card")) { if (jsonObject.containsKey("hot_type_card")) {
icon = jsonObject.getJSONObject("hot_type_card").getString("text"); icon = jsonObject.getJSONObject("hot_type_card").getString("text");
......
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