Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
weibohotcrawler
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
chenweiyang
weibohotcrawler
Commits
d9b8652d
Commit
d9b8652d
authored
Oct 09, 2018
by
[zhangzhiwei]
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改线上版本去重
parent
05561321
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
pom.xml
+2
-2
src/main/java/com/zhiwei/weibocrawler/rsidClient/RsidClientDAO.java
+2
-2
No files found.
pom.xml
View file @
d9b8652d
...
...
@@ -3,7 +3,7 @@
<modelVersion>
4.0.0
</modelVersion>
<groupId>
com.zhiwei
</groupId>
<artifactId>
weibohotcrawler
</artifactId>
<version>
0.0.
2
-SNAPSHOT
</version>
<version>
0.0.
3
-SNAPSHOT
</version>
<name>
weibohotcrawler
</name>
<description>
微博热搜1小时榜单,社会、热点采集程序
</description>
...
...
@@ -23,7 +23,7 @@
<dependency>
<groupId>
com.zhiwei.middleware
</groupId>
<artifactId>
cleaner-unified-urlfilter
</artifactId>
<version>
1.0
-SNAPSHOT
</version>
<version>
1.0
.0.RELEASE
</version>
</dependency>
<dependency>
<groupId>
com.zhiwei.tools
</groupId>
...
...
src/main/java/com/zhiwei/weibocrawler/rsidClient/RsidClientDAO.java
View file @
d9b8652d
...
...
@@ -3,9 +3,9 @@ package com.zhiwei.weibocrawler.rsidClient;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
com.zhiwei.common.config.GroupType
;
import
com.zhiwei.middleware.cleaner.ptenum.PTENUM
;
import
com.zhiwei.middleware.cleaner.urlfilter.UnifiedUrlFilterClient
;
import
com.zhiwei.middleware.filter.config.Definition
;
import
com.zhiwei.tools.tools.ZhiWeiTools
;
import
com.zhiwei.weibocrawler.config.Config
;
...
...
@@ -25,7 +25,7 @@ public class RsidClientDAO {
synchronized
(
RsidClientDAO
.
class
)
{
if
(
client
==
null
)
{
try
{
client
=
UnifiedUrlFilterClient
.
getClient
(
Config
.
rsidUrl
,
Config
.
rsidGroup
,
Definition
.
GroupType
.
PROVIDER
);
client
=
UnifiedUrlFilterClient
.
getClient
(
Config
.
rsidUrl
,
Config
.
rsidGroup
,
GroupType
.
PROVIDER
);
}
catch
(
Exception
e
)
{
logger
.
error
(
"链接清洗中间件时出现错误,错误为:::{}"
,
e
);
}
...
...
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