Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
source_forward
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
source_forward
Commits
b7e2a3dc
Commit
b7e2a3dc
authored
Feb 05, 2018
by
zhiwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
自媒体号匹配程序,修复未匹配到的帐号显示为平台名称为题
parent
2cecc132
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
src/main/java/com/zhiwei/source_forward/crawler/MediaSelfSourcePageProcessor.java
+3
-0
No files found.
src/main/java/com/zhiwei/source_forward/crawler/MediaSelfSourcePageProcessor.java
View file @
b7e2a3dc
...
...
@@ -34,6 +34,9 @@ public class MediaSelfSourcePageProcessor implements PageProcessor {
try
{
if
(
page
.
getStatusCode
()!=
404
){
source
=
TreateData
.
matchMediaSelfSource
(
page
.
getUrl
().
get
(),
page
.
getHtml
().
toString
());
if
(
source
==
null
||
source
.
equals
(
""
)){
source
=
null
;
}
channel
=
TreateData
.
verifyChannel
(
page
.
getUrl
().
get
());
if
(
channel
==
null
){
List
<
Node
>
nodeList
=
page
.
getHtml
().
getDocument
().
head
().
childNodes
();
...
...
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