From 97ff2c2cfed0c77b2ae27a4e5615658a397a81db Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 15 Apr 2011 16:37:38 -0600 Subject: [PATCH] Fix Irish Times --- recipes/irish_times.recipe | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/recipes/irish_times.recipe b/recipes/irish_times.recipe index 1434a25725..3efcfc6d29 100644 --- a/recipes/irish_times.recipe +++ b/recipes/irish_times.recipe @@ -18,7 +18,6 @@ class IrishTimes(BasicNewsRecipe): oldest_article = 1.0 max_articles_per_feed = 100 no_stylesheets = True - simultaneous_downloads= 5 r = re.compile('.*(?Phttp:\/\/(www.irishtimes.com)|(rss.feedsportal.com\/c)\/.*\.html?).*') remove_tags = [dict(name='div', attrs={'class':'footer'})] @@ -26,17 +25,17 @@ class IrishTimes(BasicNewsRecipe): feeds = [ ('Frontpage', 'http://www.irishtimes.com/feeds/rss/newspaper/index.rss'), - ('Ireland', 'http://www.irishtimes.com/feeds/rss/newspaper/ireland.rss'), - ('World', 'http://www.irishtimes.com/feeds/rss/newspaper/world.rss'), - ('Finance', 'http://www.irishtimes.com/feeds/rss/newspaper/finance.rss'), - ('Features', 'http://www.irishtimes.com/feeds/rss/newspaper/features.rss'), - ('Sport', 'http://www.irishtimes.com/feeds/rss/newspaper/sport.rss'), - ('Opinion', 'http://www.irishtimes.com/feeds/rss/newspaper/opinion.rss'), - ('Letters', 'http://www.irishtimes.com/feeds/rss/newspaper/letters.rss'), + ('Ireland', 'http://rss.feedsportal.com/c/851/f/10845/index.rss'), + ('World', 'http://rss.feedsportal.com/c/851/f/10846/index.rss'), + ('Finance', 'http://rss.feedsportal.com/c/851/f/10847/index.rss'), + ('Features', 'http://rss.feedsportal.com/c/851/f/10848/index.rss'), + ('Sport', 'http://rss.feedsportal.com/c/851/f/10849/index.rss'), + ('Opinion', 'http://rss.feedsportal.com/c/851/f/10850/index.rss'), + ('Letters', 'http://rss.feedsportal.com/c/851/f/10851/index.rss'), ('Magazine', 'http://www.irishtimes.com/feeds/rss/newspaper/magazine.rss'), - ('Health', 'http://www.irishtimes.com/feeds/rss/newspaper/health.rss'), - ('Education & Parenting', 'http://www.irishtimes.com/feeds/rss/newspaper/education.rss'), - ('Motors', 'http://www.irishtimes.com/feeds/rss/newspaper/motors.rss'), + ('Health', 'http://rss.feedsportal.com/c/851/f/10852/index.rss'), + ('Education & Parenting', 'http://rss.feedsportal.com/c/851/f/10853/index.rss'), + ('Motors', 'http://rss.feedsportal.com/c/851/f/10854/index.rss'), ('An Teanga Bheo', 'http://www.irishtimes.com/feeds/rss/newspaper/anteangabheo.rss'), ('Commercial Property', 'http://www.irishtimes.com/feeds/rss/newspaper/commercialproperty.rss'), ('Science Today', 'http://www.irishtimes.com/feeds/rss/newspaper/sciencetoday.rss'), @@ -57,5 +56,3 @@ class IrishTimes(BasicNewsRecipe): def get_article_url(self, article): return article.link - -