Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
media_data_crawler
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
media_data_crawler
Commits
7c7fe2d2
Commit
7c7fe2d2
authored
Nov 25, 2019
by
cwy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决冲突
parent
5988fd8b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
7 deletions
+3
-7
pom.xml
+1
-1
src/main/java/com/zhiwei/media_data_crawler/data/DataCrawler.java
+2
-6
No files found.
pom.xml
View file @
7c7fe2d2
...
...
@@ -2,7 +2,7 @@
<modelVersion>
4.0.0
</modelVersion>
<groupId>
com.zhiwei
</groupId>
<artifactId>
media_data_crawler
</artifactId>
<version>
0.1.
2
-SNAPSHOT
</version>
<version>
0.1.
3
-SNAPSHOT
</version>
<name>
media_data_crawler
</name>
<description>
网媒数据抓取,包含百度新闻、搜狗新闻、360新闻、知乎回答列表等
</description>
...
...
src/main/java/com/zhiwei/media_data_crawler/data/DataCrawler.java
View file @
7c7fe2d2
...
...
@@ -329,12 +329,8 @@ public class DataCrawler {
* 设定文件
* @return List<LunTanData> 返回类型
*/
public
static
List
<
LunTanData
>
getLunTanData
(
String
word
,
Proxy
proxy
,
String
endTime
)
{
try
{
return
TianYaCrawlerParse
.
getLunTanData
(
word
,
proxy
,
endTime
);
}
catch
(
Exception
e
)
{
return
Collections
.
emptyList
();
}
public
static
List
<
LunTanData
>
getLunTanData
(
String
word
,
ProxyHolder
proxy
,
String
startTime
,
String
endTime
)
{
return
TianYaCrawlerParse
.
getLunTanData
(
word
,
proxy
,
startTime
,
endTime
);
}
/**
...
...
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