diff --git a/reader/rewrite/rules.go b/reader/rewrite/rules.go index 845973a3..fb615546 100644 --- a/reader/rewrite/rules.go +++ b/reader/rewrite/rules.go @@ -26,6 +26,7 @@ var predefinedRules = map[string]string{ "oglaf.com": "add_image_title", "optipess.com": "add_image_title", "peebleslab.com": "add_image_title", + "quantamagazine.org": `remove("h6:not(.byline,.post__title__kicker), #comments, .next-post__content, .footer__section, figure .outer--content")`, "sentfromthemoon.com": "add_image_title", "thedoghousediaries.com": "add_image_title", "treelobsters.com": "add_image_title", diff --git a/reader/scraper/rules.go b/reader/scraper/rules.go index dfcc4396..0352b6bd 100644 --- a/reader/scraper/rules.go +++ b/reader/scraper/rules.go @@ -33,6 +33,7 @@ var predefinedRules = map[string]string{ "osnews.com": "div.newscontent1", "phoronix.com": "div.content", "pseudo-sciences.org": "#art_main", + "quantamagazine.org": ".outer--content, figure", "raywenderlich.com": "article", "slate.fr": ".field-items", "techcrunch.com": "div.article-entry",