diff --git a/reader/rewrite/rules.go b/reader/rewrite/rules.go index c2262644285ec9ebbcba8b40ad955a6a8e21f547..8d98dc5b8bc18fa6a9738550940d8ef5ff269ed9 100644 --- a/reader/rewrite/rules.go +++ b/reader/rewrite/rules.go @@ -32,6 +32,7 @@ var predefinedRules = map[string]string{ "thedoghousediaries.com": "add_image_title", "theverge.com": `add_dynamic_image, remove("div.duet--recirculation--related-list")`, "treelobsters.com": "add_image_title", + "webtoons.com": `add_dynamic_image,replace("webtoon"|"swebtoon")`, "www.qwantz.com": "add_image_title,add_mailto_subject", "www.recalbox.com": "parse_markdown", "xkcd.com": "add_image_title", diff --git a/reader/scraper/rules.go b/reader/scraper/rules.go index 8e0fef74d06e4238555ba3e455cc187a7ef6b16c..6dcda3701bb0e2e8a3de88b2102352a134f380b2 100644 --- a/reader/scraper/rules.go +++ b/reader/scraper/rules.go @@ -50,6 +50,7 @@ var predefinedRules = map[string]string{ "universfreebox.com": "#corps_corps", "version2.dk": "section.body", "wdwnt.com": "div.entry-content", + "webtoons.com": ".viewer_img", "wired.com": "main figure, article", "zeit.de": ".summary, .article-body", "zdnet.com": "div.storyBody",