mirror of
https://github.com/miniflux/v2.git
synced 2025-06-27 16:36:00 +00:00
Refactor manual entry scraper
This commit is contained in:
parent
52de36b158
commit
311a133ab8
6 changed files with 34 additions and 19 deletions
|
@ -54,7 +54,7 @@ func Fetch(websiteURL, rules, userAgent string) (string, error) {
|
|||
logger.Debug(`[Scraper] Using rules %q for %q`, rules, websiteURL)
|
||||
content, err = scrapContent(response.Body, rules)
|
||||
} else {
|
||||
logger.Debug(`[Scraper] Using readability for "%q`, websiteURL)
|
||||
logger.Debug(`[Scraper] Using readability for %q`, websiteURL)
|
||||
content, err = readability.ExtractContent(response.Body)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue