From d4839b559795fbaaf664f765ad92402688cfaaea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Guillot?= Date: Wed, 27 Dec 2017 13:36:07 -0800 Subject: [PATCH] Add more scraper rules --- reader/scraper/rules.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reader/scraper/rules.go b/reader/scraper/rules.go index 9dc14053..d37b08b3 100644 --- a/reader/scraper/rules.go +++ b/reader/scraper/rules.go @@ -7,8 +7,10 @@ package scraper // List of predefined scraper rules (alphabetically sorted) // domain => CSS selectors var predefinedRules = map[string]string{ + "cbc.ca": ".story-content", "github.com": "article.entry-content", "igen.fr": "section.corps", + "lapresse.ca": ".amorce, .entry", "lemonde.fr": "div#articleBody", "lesjoiesducode.fr": ".blog-post-content img", "linux.com": "div.content, div[property]",