Commit eae35e40 by leiliangliang

增加微博出圈榜finally机制

parent 3dfe13ae
...@@ -80,6 +80,10 @@ public class WeiboOutCircleCrawler { ...@@ -80,6 +80,10 @@ public class WeiboOutCircleCrawler {
return result; return result;
} catch (Exception e) { } catch (Exception e) {
log.error("解析微博出圈榜出现解析错误,数据不是json结构", e); log.error("解析微博出圈榜出现解析错误,数据不是json结构", e);
}finally {
if (result.size()<0){
log.error("页面解析出现问题");
}
} }
} 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