Commit 1ea78f29 by chenweitao

Merge branch 'working' into 'master'

更改虎嗅页面标识

See merge request !190
parents dd5abcf0 7151cb11
...@@ -43,7 +43,7 @@ public class HuXiuHotSearchCrawler { ...@@ -43,7 +43,7 @@ public class HuXiuHotSearchCrawler {
}else { }else {
htmlBody = response.bodyString(); htmlBody = response.bodyString();
} }
if (htmlBody != null && htmlBody.contains("hot__list")) { if (htmlBody != null && htmlBody.contains("article-lirt-card")) {
return ansysData(htmlBody,date); return ansysData(htmlBody,date);
} else { } else {
log.info("解析虎嗅热文推荐时出现解析错误,页面结构有问题"); log.info("解析虎嗅热文推荐时出现解析错误,页面结构有问题");
......
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