1
0
Fork 0

Add BBC News scraping rule

This commit is contained in:
Tom Matthews 2018-12-14 04:25:30 +00:00 committed by fguillot
parent 6ae935309a
commit 8b40778ee1

View file

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