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:
Timothée Andres 2022-01-07 20:08:07 +01:00 committed by GitHub
parent f9fb012322
commit 36011dc3a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'}]