View Single Post
Old 05-09-2010, 06:52 AM   #1
Movitz
Junior Member
Movitz began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2010
Device: prs-300
Economist (payed) update

Hi,
Im sorry if this has allready come up, i have tried to search for it first. I only just downloaded calibre yesterday and it is fantastic.

When trying to download the payed version of economist though the meter froze after 34%. I made a small change to the receipe and succeded to download the paper. The changes are due to that the ""Classified ads" name is not under a H1 tag but an H2 one.

Now:
def economist_parse_index(self):
...
if 'Classified ads' in text:
break
if tag.name == 'h1':
if 'The world this week' in text or 'The world this year' in text:
index_started = True
if not index_started:
continue

before:

def economist_parse_index(self):
...
if tag.name == 'h1':
if 'The world this week' in text or 'The world this year' in text:
index_started = True
if 'Classified ads' in text:
break
if not index_started:
continue

How do i contribute these kind of changes in a more effecient way, i guess this board isnt the ultimate way of doing so? Is there a svn server i can download from and create patches?
Movitz is offline   Reply With Quote