From 9ffcb91813c241696fab9180b9c7d9b2f9e2eae7 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 17 Jun 2022 07:56:09 +0530 Subject: [PATCH] pep8 --- recipes/haaretz_en.recipe | 5 +++-- recipes/readersdigest_thehealthy.recipe | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/recipes/haaretz_en.recipe b/recipes/haaretz_en.recipe index 45775bb722..4f476884cd 100644 --- a/recipes/haaretz_en.recipe +++ b/recipes/haaretz_en.recipe @@ -27,7 +27,7 @@ class Haaretz_en(BasicNewsRecipe): language = 'en_IL' needs_subscription = True remove_empty_feeds = True - ignore_duplicate_articles = {'url'} + ignore_duplicate_articles = {'url'} publication_type = 'newspaper' PREFIX = 'https://www.haaretz.com' LOGIN = 'https://services.haaretz.com/ms-sso/loginUrlEncoded' @@ -52,7 +52,8 @@ class Haaretz_en(BasicNewsRecipe): ] remove_attributes = ['width', 'height'] remove_tags = [ - dict(name=['div', 'ul', 'button', 'svg'], attrs={'data-test': ['audioPlayer', 'newsletter', 'relatedArticles', 'tags', 'writerAlertButton', 'IconAlefLogo']}) + dict(name=['div', 'ul', 'button', 'svg'], attrs={'data-test': [ + 'audioPlayer', 'newsletter', 'relatedArticles', 'tags', 'writerAlertButton', 'IconAlefLogo']}) ] feeds = [ diff --git a/recipes/readersdigest_thehealthy.recipe b/recipes/readersdigest_thehealthy.recipe index 94b127d9cb..c1d0ca6bef 100644 --- a/recipes/readersdigest_thehealthy.recipe +++ b/recipes/readersdigest_thehealthy.recipe @@ -11,6 +11,7 @@ from calibre.web.feeds.news import BasicNewsRecipe + class TheHealthy(BasicNewsRecipe): title = 'The Healthy from Readers Digest' language = 'en' @@ -63,5 +64,5 @@ class TheHealthy(BasicNewsRecipe): ('Health Care', 'https://www.thehealthy.com/healthcare/feed'), ('Home Remedies', 'https://www.thehealthy.com/home-remedies/feed'), ('Oral and Dental Care', 'https://www.thehealthy.com/dental/feed'), - ('Self Care', 'https://www.thehealthy.com/mental-health/self-care/feed'), + ('Self Care', 'https://www.thehealthy.com/mental-health/self-care/feed'), ]