Add rewrite and scraper rules for blog.cloudflare.com
This commit is contained in:
parent
8d51fd8ff5
commit
48acd1feca
2 changed files with 2 additions and 0 deletions
|
@ -10,6 +10,7 @@ package rewrite // import "miniflux.app/reader/rewrite"
|
|||
var predefinedRules = map[string]string{
|
||||
"abstrusegoose.com": "add_image_title",
|
||||
"amazingsuperpowers.com": "add_image_title",
|
||||
"blog.cloudflare.com": `add_image_title,remove("figure.kg-image-card figure.kg-image + img")`,
|
||||
"blog.laravel.com": "parse_markdown",
|
||||
"cowbirdsinlove.com": "add_image_title",
|
||||
"drawingboardcomic.com": "add_image_title",
|
||||
|
|
|
@ -8,6 +8,7 @@ package scraper // import "miniflux.app/reader/scraper"
|
|||
// domain => CSS selectors
|
||||
var predefinedRules = map[string]string{
|
||||
"bbc.co.uk": "div.vxp-column--single, div.story-body__inner, ul.gallery-images__list",
|
||||
"blog.cloudflare.com": "div.post-content",
|
||||
"cbc.ca": ".story-content",
|
||||
"darkreading.com": "#article-main:not(header)",
|
||||
"developpez.com": "div[itemprop=articleBody]",
|
||||
|
|
Loading…
Reference in a new issue