diff options
Diffstat (limited to 'reader/scraper/scraper.go')
-rw-r--r-- | reader/scraper/scraper.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/reader/scraper/scraper.go b/reader/scraper/scraper.go index 4f36d96..b90cc14 100644 --- a/reader/scraper/scraper.go +++ b/reader/scraper/scraper.go @@ -72,7 +72,7 @@ func scrapContent(page io.Reader, rules string) (string, error) { var content string // For some inline elements, we get the parent. - if s.Is("img") { + if s.Is("img") || s.Is("iframe") { content, _ = s.Parent().Html() } else { content, _ = s.Html() |