Commit d4709516 by zhiwei

添加搜狗微信由link获取真实链接(带有效期)方法

parent 81ade9e7
...@@ -301,7 +301,6 @@ public class WechatAritcleSearch { ...@@ -301,7 +301,6 @@ public class WechatAritcleSearch {
try { try {
title = element.select("div.txt-box").select("h3").text(); title = element.select("div.txt-box").select("h3").text();
link = "https://weixin.sogou.com" + element.select("div.txt-box").select("h3 >a").attr("href"); link = "https://weixin.sogou.com" + element.select("div.txt-box").select("h3 >a").attr("href");
link = WechatReal.getRealLink(link);
content = ""; content = "";
if (element.select("p.txt-info").isEmpty()) { if (element.select("p.txt-info").isEmpty()) {
content = element.select("p.txt-info").text(); content = element.select("p.txt-info").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