mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Reduce image compression in equestria_daily recipe
The website https://www.equestriadaily.com/ often uses images in its articles, and from what I have seen the images get compressed so much that text is basically unreadable on them. This fix mitigates this issue by reducing the compression factor from 16 to 4, which slightly increases the size of the newspaper but makes it more enjoyable and readable.
This commit is contained in:
parent
f9fb012322
commit
36011dc3a3
@ -17,6 +17,7 @@ class AdvancedUserRecipe1639926896(BasicNewsRecipe):
|
|||||||
max_articles_per_feed = 30
|
max_articles_per_feed = 30
|
||||||
|
|
||||||
compress_news_images = True
|
compress_news_images = True
|
||||||
|
compress_news_images_auto_size = 4
|
||||||
no_stylesheets = True
|
no_stylesheets = True
|
||||||
keep_only_tags = [{'name': 'div', 'class_': ['post', 'hentry']}]
|
keep_only_tags = [{'name': 'div', 'class_': ['post', 'hentry']}]
|
||||||
remove_tags = [{'name': 'div', 'class_': 'post-footer'}]
|
remove_tags = [{'name': 'div', 'class_': 'post-footer'}]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user