Add more scraper rules

This commit is contained in:
Frédéric Guillot 2017-12-27 13:36:07 -08:00
parent 44799b05f8
commit d4839b5597

View file

@ -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]",