Commit 4cc743b9 by [zhangzhiwei]

链接修改为分享链接

parent 156883ef
......@@ -97,7 +97,7 @@ public class WechatAritcleSearch {
for (Element element : elements) {
try {
title = element.select("div.txt-box").select("h3").text();
link = element.select("div.txt-box").select("h3 >a").attr("href");
link = element.select("div.txt-box").select("h3 >a").attr("data-share");
content = "";
if (element.select("p.txt-info").isEmpty()) {
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