mirror of
https://github.com/miniflux/v2.git
synced 2025-07-02 16:38:37 +00:00
Improve content scraper
This commit is contained in:
parent
827683ab59
commit
c6d9eb3614
7 changed files with 39 additions and 3 deletions
|
@ -33,6 +33,9 @@ func Fetch(websiteURL, rules string) (string, error) {
|
|||
return "", err
|
||||
}
|
||||
|
||||
// The entry URL could be a redirect somewhere else.
|
||||
websiteURL = response.EffectiveURL
|
||||
|
||||
if rules == "" {
|
||||
rules = getPredefinedScraperRules(websiteURL)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue