Commit 7151cb11 by leiliangliang

更改虎嗅页面标识

parent 3be7dcdd
......@@ -43,7 +43,7 @@ public class HuXiuHotSearchCrawler {
}else {
htmlBody = response.bodyString();
}
if (htmlBody != null && htmlBody.contains("hot__list")) {
if (htmlBody != null && htmlBody.contains("article-lirt-card")) {
return ansysData(htmlBody,date);
} else {
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