reader/rewrite: add a rule for oglaf.com
By default, Oglaf show some disclaimer/warning about its content, and this doesn't play well with rss readers, so let's rewrite it to show the actual comic instead of a placeholder.
This commit is contained in:
parent
3e0d5de7a3
commit
19ce519836
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ var predefinedRules = map[string]string{
|
||||||
"monkeyuser.com": "add_image_title",
|
"monkeyuser.com": "add_image_title",
|
||||||
"mrlovenstein.com": "add_image_title",
|
"mrlovenstein.com": "add_image_title",
|
||||||
"nedroid.com": "add_image_title",
|
"nedroid.com": "add_image_title",
|
||||||
"oglaf.com": "add_image_title",
|
"oglaf.com": `replace("media.oglaf.com/story/tt(.+).gif"|"media.oglaf.com/comic/$1.jpg"),add_image_title`,
|
||||||
"optipess.com": "add_image_title",
|
"optipess.com": "add_image_title",
|
||||||
"peebleslab.com": "add_image_title",
|
"peebleslab.com": "add_image_title",
|
||||||
"quantamagazine.org": `add_youtube_video_from_id, remove("h6:not(.byline,.post__title__kicker), #comments, .next-post__content, .footer__section, figure .outer--content, script")`,
|
"quantamagazine.org": `add_youtube_video_from_id, remove("h6:not(.byline,.post__title__kicker), #comments, .next-post__content, .footer__section, figure .outer--content, script")`,
|
||||||
|
|
Loading…
Reference in a new issue