diff --git a/recipes/indian_express.recipe b/recipes/indian_express.recipe index 8d6392636c..cd94f157cc 100644 --- a/recipes/indian_express.recipe +++ b/recipes/indian_express.recipe @@ -136,7 +136,7 @@ class IndianExpress(BasicNewsRecipe): return citem['content'].replace('300', '600') def preprocess_html(self, soup): - if h2 := (soup.find(attrs={"itemprop": "description"}) or soup.find(**classes("synopsis"))):: + if h2 := (soup.find(attrs={"itemprop": "description"}) or soup.find(**classes("synopsis"))): h2.name = 'p' h2['id'] = 'sub-d' for span in soup.findAll(