From 25948f59f0f33b681432cea8ad71dbbb2f253cdf Mon Sep 17 00:00:00 2001 From: unkn0w7n <51942695+unkn0w7n@users.noreply.github.com> Date: Sun, 13 Aug 2023 13:04:23 +0530 Subject: [PATCH] ... --- recipes/epoch_times.recipe | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/recipes/epoch_times.recipe b/recipes/epoch_times.recipe index f4eea11d3d..79030de0fc 100644 --- a/recipes/epoch_times.recipe +++ b/recipes/epoch_times.recipe @@ -12,13 +12,11 @@ class EpochTimes(BasicNewsRecipe): oldest_article = 1.2 max_articles_per_feed = 20 ignore_duplicate_articles = {'url'} - remove_attributes = ['height', 'width'] + remove_attributes = ['height', 'width', 'style'] remove_empty_feeds = True resolve_internal_links = True masthead_url = 'https://epochtimes-ny.newsmemory.com/eeLayout/epochtimes/1.0.a/images/webapp/banner.png' - extra_css = """ - body{font-family: Arial,sans-serif } - """ + keep_only_tags = [ dict(name='article') ]