diff --git a/recipes/livemint.recipe b/recipes/livemint.recipe index ab82b0bc45..7147c72c78 100644 --- a/recipes/livemint.recipe +++ b/recipes/livemint.recipe @@ -102,7 +102,7 @@ class LiveMint(BasicNewsRecipe): dict(name=['meta', 'link', 'svg', 'button', 'iframe']), classes( 'trendingSimilarHeight moreNews mobAppDownload label msgError msgOk taboolaHeight' - ' socialHolder imgbig disclamerText disqus-comment-count openinApp2 lastAdSlot' + ' socialHolder imgbig disclamerText disqus-comment-count openinApp2 lastAdSlot bs_logo' ' datePublish sepStory premiumSlider moreStory Joinus moreAbout milestone benefitText' ) ] diff --git a/recipes/natgeomag.recipe b/recipes/natgeomag.recipe index 4140a45777..fa866a2ec9 100644 --- a/recipes/natgeomag.recipe +++ b/recipes/natgeomag.recipe @@ -154,7 +154,9 @@ class NatGeo(BasicNewsRecipe): if photoart := soup.find(attrs={'class':lambda x: x and 'BgImagePromo__Container__Text__Link' in x.split()}): ans2 = [] title = self.tag_to_string(photoart) - url = 'https://www.nationalgeographic.com' + photoart['href'] + url = photoart['href'] + if url.startswith('/'): + url = 'https://www.nationalgeographic.com' + photoart['href'] ans2.append(('Photo Essay', [{'title': title, 'url': url}])) for gird in soup.findAll(attrs={'class':'GridPromoTile'}): for article in soup.findAll('article'):