Add BBC News scraping rule
This commit is contained in:
parent
6ae935309a
commit
8b40778ee1
1 changed files with 1 additions and 0 deletions
|
@ -7,6 +7,7 @@ package scraper // import "miniflux.app/reader/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{
|
||||||
|
"bbc.co.uk": "div.vxp-column--single, div.story-body__inner, ul.gallery-images__list",
|
||||||
"cbc.ca": ".story-content",
|
"cbc.ca": ".story-content",
|
||||||
"darkreading.com": "#article-main:not(header)",
|
"darkreading.com": "#article-main:not(header)",
|
||||||
"developpez.com": "div[itemprop=articleBody]",
|
"developpez.com": "div[itemprop=articleBody]",
|
||||||
|
|
Loading…
Reference in a new issue