diff --git a/recipes/livemint.recipe b/recipes/livemint.recipe index 75a6a5e514..3418fc249a 100644 --- a/recipes/livemint.recipe +++ b/recipes/livemint.recipe @@ -138,6 +138,9 @@ class LiveMint(BasicNewsRecipe): return raw def preprocess_html(self, soup): + for embed in soup.findAll('div', attrs={'class':'embed'}): + if nos := embed.find('noscript'): + nos.name = 'span' for span in soup.findAll('figcaption'): span['id'] = 'img-cap' for auth in soup.findAll('span', attrs={'class':lambda x: x and 'articleInfo' in x.split()}):