From d509d5c45339f998a1dcf4e6179bd0005e5226cc Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 10 Oct 2021 19:15:42 +0530 Subject: [PATCH] pep8 --- recipes/el_diplo.recipe | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/recipes/el_diplo.recipe b/recipes/el_diplo.recipe index 2e4e4ae0c1..d7e6ee9bb6 100644 --- a/recipes/el_diplo.recipe +++ b/recipes/el_diplo.recipe @@ -41,7 +41,6 @@ class ElDiplo2020(BasicNewsRecipe): masthead_url = 'https://www.eldiplo.org/wp-content/themes/_polenta_/assets/diplo.png' INDEX = 'https://www.eldiplo.org/' - extra_css = """ body{font-family: "GT Super", serif} .autor{font-family: Inter, serif} @@ -66,7 +65,7 @@ class ElDiplo2020(BasicNewsRecipe): soup = self.index_to_soup(self.INDEX) mylink = soup.find('span', text='Sumario') if mylink is None: - return None + return None indexurl = "https://www.eldiplo.org" + mylink.parent['href'] self.log(indexurl) parts = indexurl.split('www.eldiplo.org/', 1)