Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

wedojava/fetcher

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fetcher

Fetch news from urls.

Intro

Fetch depth: 1

Development Tips

There files need to be modified while add a new site:

  • main.go: add entrance url
  • links.go -> SetLinks(): add case about target urls feature regex, eg: if url must have about, param 2 is .*?about.*
  • site/newsite: copy files from sibling folder, then develop and pass the test.
  • post.go -> TreatPost(): add case for new site domain.

About

fetcher dwnews

Resources

Stars

Watchers

Forks

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.