![]() |
#1 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Nov 2010
Device: kindle 3
|
Irish Times recipe - no longer working
Hi there,
I have been using Calibre to download The Irish Times for my Kindle 3 every morning for a couple of months now. It has more or less stopped working in the past week - I can just get the front page articles. Has anyone else had a similar experience ? I can still download other papers including the Irish Independent so I know my PC is working ok. Any advice or help ? Thanks, |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
There seems to have been a minor change in the site, or possibly a typo on the original recipe. Try this:
Code:
__license__ = 'GPL v3' __copyright__ = "2008, Derry FitzGerald. 2009 Modified by Ray Kinsella and David O'Callaghan" ''' irishtimes.com ''' import re from calibre.web.feeds.news import BasicNewsRecipe class IrishTimes(BasicNewsRecipe): title = u'The Irish Times' __author__ = "Derry FitzGerald, Ray Kinsella and David O'Callaghan modified by Starson17" language = 'en_IE' timefmt = ' (%A, %B %d, %Y)' oldest_article = 3 no_stylesheets = True simultaneous_downloads= 1 r = re.compile('.*(?P<url>http:\/\/(www.irishtimes.com)|(rss.feedsportal.com\/c)\/.*\.html?).*') remove_tags = [dict(name='div', attrs={'class':'footer'})] extra_css = '.headline {font-size: x-large;} \n .fact { padding-top: 10pt }' 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'), ] def print_version(self, url): if url.count('rss.feedsportal.com'): u = 'http://www.irishtimes.com' + \ (((url[69:].replace('0C','/')).replace('0A','0'))).replace('0Bhtml/story01.htm','_pf.html') else: u = url.replace('.html','_pf.html') return u def get_article_url(self, article): return article.link |
![]() |
![]() |
Advert | |
|
![]() |
Tags |
irish times |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Recipe for Gulf Times | rty | Calibre | 3 | 04-16-2010 12:04 PM |
Fictionwise workarounds no longer working | Crusader | News | 10 | 02-22-2010 09:01 PM |
Irish Times Newspaper Crash.. | Boyodublin | Calibre | 1 | 12-03-2008 01:08 PM |
The Moscow Times recipe isn't working. | girlperson1 | Calibre | 4 | 12-01-2008 06:42 AM |
MobiDeDRM not working any longer? | Striking Claw | Kindle Formats | 13 | 11-19-2008 07:10 PM |