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
42a35bdd
Commit
42a35bdd
authored
Jun 07, 2021
by
chenweitao
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'working' into 'master'
更新微博话题解析 See merge request
!91
parents
79009b98
8d6b515b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
src/main/java/com/zhiwei/searchhotcrawler/crawler/WeiboHotSearchCrawler.java
+5
-2
No files found.
src/main/java/com/zhiwei/searchhotcrawler/crawler/WeiboHotSearchCrawler.java
View file @
42a35bdd
...
@@ -273,6 +273,7 @@ public class WeiboHotSearchCrawler {
...
@@ -273,6 +273,7 @@ public class WeiboHotSearchCrawler {
}
}
}
}
try
{
//调用weiBoMassageDao添加数据
//调用weiBoMassageDao添加数据
WeiBoMassageDao
weiBoMassageDao
=
new
WeiBoMassageDao
();
WeiBoMassageDao
weiBoMassageDao
=
new
WeiBoMassageDao
();
//解析cards,获取热门微博、人物
//解析cards,获取热门微博、人物
...
@@ -293,10 +294,12 @@ public class WeiboHotSearchCrawler {
...
@@ -293,10 +294,12 @@ public class WeiboHotSearchCrawler {
}
}
analysisWeiBoUsers
(
cardGroup
,
document
.
getString
(
"name"
));
analysisWeiBoUsers
(
cardGroup
,
document
.
getString
(
"name"
));
}
}
}
else
{
log
.
info
(
"获取数据失败"
);
}
}
}
}
}
catch
(
Exception
e
)
{
log
.
error
(
"解析cards失败,未获得热门微博,人物信息"
,
e
);
}
return
document
;
return
document
;
}
}
}
}
...
...
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