Commit b7e2a3dc by zhiwei

自媒体号匹配程序,修复未匹配到的帐号显示为平台名称为题

parent 2cecc132
......@@ -34,6 +34,9 @@ public class MediaSelfSourcePageProcessor implements PageProcessor {
try {
if(page.getStatusCode()!=404){
source = TreateData.matchMediaSelfSource(page.getUrl().get(),page.getHtml().toString());
if(source==null || source.equals("")){
source = null;
}
channel = TreateData.verifyChannel(page.getUrl().get());
if(channel==null){
List<Node> nodeList = page.getHtml().getDocument().head().childNodes();
......
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