Commit e7f2d78c by [zhangzhiwei]

添加3g.163.com 网易号自媒体自媒体账号匹配规则

parent bde825dd
...@@ -192,6 +192,12 @@ public class MatchSource { ...@@ -192,6 +192,12 @@ public class MatchSource {
if(source!=null && !source.equals("")){ if(source!=null && !source.equals("")){
source = "汽车之家-" + source; source = "汽车之家-" + source;
} }
}else if(url.contains("3g.163.com")){
source = document.select("div.info").select("[class=\"source js-source\"]")
.text();
if(source!=null && !source.equals("")){
source = "网易号-" + source;
}
} }
return source; return source;
} catch (Exception e) { } catch (Exception e) {
......
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