From 245accd3ac5ae1d9e342a1f7e0e73630f73bfd8b Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 2 Feb 2012 21:57:36 +0530 Subject: [PATCH] ... --- recipes/chicago_tribune.recipe | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/recipes/chicago_tribune.recipe b/recipes/chicago_tribune.recipe index 6842dcff2a..4fada40133 100644 --- a/recipes/chicago_tribune.recipe +++ b/recipes/chicago_tribune.recipe @@ -77,8 +77,10 @@ class ChicagoTribune(BasicNewsRecipe): def get_article_url(self, article): - print article.get('feedburner_origlink', article.get('guid', article.get('link'))) - return article.get('feedburner_origlink', article.get('guid', article.get('link'))) + url = article.get('feedburner_origlink', article.get('guid', article.get('link'))) + if url.endswith('?track=rss'): + url = url.partition('?')[0] + return url def postprocess_html(self, soup, first_fetch): # Remove the navigation bar. It was kept until now to be able to follow