diff --git a/recipes/chicago_tribune.recipe b/recipes/chicago_tribune.recipe index 4fada40133..a5ec8f0743 100644 --- a/recipes/chicago_tribune.recipe +++ b/recipes/chicago_tribune.recipe @@ -82,6 +82,14 @@ class ChicagoTribune(BasicNewsRecipe): url = url.partition('?')[0] return url + def skip_ad_pages(self, soup): + text = soup.find(text='click here to continue to article') + if text: + a = text.parent + url = a.get('href') + if url: + return self.index_to_soup(url, raw=True) + def postprocess_html(self, soup, first_fetch): # Remove the navigation bar. It was kept until now to be able to follow # the links to further pages. But now we don't need them anymore.