mirror of
https://github.com/miniflux/v2.git
synced 2025-06-27 16:36:00 +00:00
Add more scraper rules
This commit is contained in:
parent
44799b05f8
commit
d4839b5597
1 changed files with 2 additions and 0 deletions
|
@ -7,8 +7,10 @@ package scraper
|
||||||
// List of predefined scraper rules (alphabetically sorted)
|
// List of predefined scraper rules (alphabetically sorted)
|
||||||
// domain => CSS selectors
|
// domain => CSS selectors
|
||||||
var predefinedRules = map[string]string{
|
var predefinedRules = map[string]string{
|
||||||
|
"cbc.ca": ".story-content",
|
||||||
"github.com": "article.entry-content",
|
"github.com": "article.entry-content",
|
||||||
"igen.fr": "section.corps",
|
"igen.fr": "section.corps",
|
||||||
|
"lapresse.ca": ".amorce, .entry",
|
||||||
"lemonde.fr": "div#articleBody",
|
"lemonde.fr": "div#articleBody",
|
||||||
"lesjoiesducode.fr": ".blog-post-content img",
|
"lesjoiesducode.fr": ".blog-post-content img",
|
||||||
"linux.com": "div.content, div[property]",
|
"linux.com": "div.content, div[property]",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue