1
0
Fork 0

Add rewrite and scraper rules for blog.cloudflare.com

This commit is contained in:
Marie Ramlow 2023-01-09 00:45:08 +01:00 committed by Frédéric Guillot
parent 8d51fd8ff5
commit 48acd1feca
2 changed files with 2 additions and 0 deletions

View file

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

View file

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