Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
searchhotcrawler
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhiwei
searchhotcrawler
Commits
eae35e40
Commit
eae35e40
authored
Mar 22, 2022
by
leiliangliang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加微博出圈榜finally机制
parent
3dfe13ae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
src/main/java/com/zhiwei/searchhotcrawler/crawler/WeiboOutCircleCrawler.java
+4
-0
No files found.
src/main/java/com/zhiwei/searchhotcrawler/crawler/WeiboOutCircleCrawler.java
View file @
eae35e40
...
...
@@ -80,6 +80,10 @@ public class WeiboOutCircleCrawler {
return
result
;
}
catch
(
Exception
e
)
{
log
.
error
(
"解析微博出圈榜出现解析错误,数据不是json结构"
,
e
);
}
finally
{
if
(
result
.
size
()<
0
){
log
.
error
(
"页面解析出现问题"
);
}
}
}
else
{
log
.
info
(
"解析微博出圈榜时出现解析错误,页面结构有问题"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment