From 36011dc3a30e6d3b9dd65adb1c8921b0daab0e57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Andres?= Date: Fri, 7 Jan 2022 20:08:07 +0100 Subject: [PATCH] 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. --- recipes/equestria_daily.recipe | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes/equestria_daily.recipe b/recipes/equestria_daily.recipe index 43957d8cfa..247dbf37af 100644 --- a/recipes/equestria_daily.recipe +++ b/recipes/equestria_daily.recipe @@ -17,6 +17,7 @@ class AdvancedUserRecipe1639926896(BasicNewsRecipe): max_articles_per_feed = 30 compress_news_images = True + compress_news_images_auto_size = 4 no_stylesheets = True keep_only_tags = [{'name': 'div', 'class_': ['post', 'hentry']}] remove_tags = [{'name': 'div', 'class_': 'post-footer'}]