mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-28 22:26:07 +01:00
Fix #5317 (New York Review of Books: works but recipes misnamed)
This commit is contained in:
parent
b2f590b6b3
commit
7df1f79d9a
2 changed files with 2 additions and 2 deletions
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
class NewYorkReviewOfBooks(BasicNewsRecipe):
|
||||
|
||||
title = u'New York Review of Books (no subscription)'
|
||||
title = u'New York Review of Books'
|
||||
description = u'Book reviews'
|
||||
language = 'en'
|
||||
|
||||
|
|
|
|||
|
|
@ -283,7 +283,7 @@ def serialize_elem(self, elem, item, nsrmap=NSRMAP):
|
|||
if self.serialize_href(val, item):
|
||||
continue
|
||||
elif attr == 'src':
|
||||
href = item.abshref(val)
|
||||
href = urlnormalize(item.abshref(val))
|
||||
if href in self.images:
|
||||
index = self.images[href]
|
||||
buffer.write('recindex="%05d"' % index)
|
||||
|
|
|
|||
Loading…
Reference in a new issue