mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 11:14:02 +02:00
Use correct urls in the instapaper recipe rather than relying on print_version(), which breaks the article downloaded from link
This commit is contained in:
parent
d5a37ea0f5
commit
8b2ed777ad
1 changed files with 1 additions and 4 deletions
|
|
@ -62,11 +62,8 @@ def parse_index(self):
|
|||
soup = self.index_to_soup(feedurl)
|
||||
for item in soup.findAll('a', attrs={'class': 'article_title'}):
|
||||
articles.append({
|
||||
'url': item['href'],
|
||||
'url': 'https://www.instapaper.com' + item['href'],
|
||||
'title': item['title']
|
||||
})
|
||||
totalfeeds.append((feedtitle, articles))
|
||||
return totalfeeds
|
||||
|
||||
def print_version(self, url):
|
||||
return 'https://www.instapaper.com' + url
|
||||
|
|
|
|||
Loading…
Reference in a new issue