mirror of
https://github.com/miniflux/v2.git
synced 2025-08-11 17:51:01 +00:00
Add rewrite rule to fix Medium.com images
This commit is contained in:
parent
d75ff0c5ab
commit
31435ef83e
6 changed files with 89 additions and 40 deletions
|
@ -76,7 +76,7 @@ func ExtractContent(page io.Reader) (string, error) {
|
|||
return "", err
|
||||
}
|
||||
|
||||
document.Find("script,style,noscript").Each(func(i int, s *goquery.Selection) {
|
||||
document.Find("script,style").Each(func(i int, s *goquery.Selection) {
|
||||
removeNodes(s)
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue