mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #5317 (New York Review of Books: works but recipes misnamed)
This commit is contained in:
parent
b2f590b6b3
commit
7df1f79d9a
@ -13,7 +13,7 @@ from calibre.web.feeds.news import BasicNewsRecipe
|
|||||||
|
|
||||||
class NewYorkReviewOfBooks(BasicNewsRecipe):
|
class NewYorkReviewOfBooks(BasicNewsRecipe):
|
||||||
|
|
||||||
title = u'New York Review of Books (no subscription)'
|
title = u'New York Review of Books'
|
||||||
description = u'Book reviews'
|
description = u'Book reviews'
|
||||||
language = 'en'
|
language = 'en'
|
||||||
|
|
||||||
|
@ -283,7 +283,7 @@ class Serializer(object):
|
|||||||
if self.serialize_href(val, item):
|
if self.serialize_href(val, item):
|
||||||
continue
|
continue
|
||||||
elif attr == 'src':
|
elif attr == 'src':
|
||||||
href = item.abshref(val)
|
href = urlnormalize(item.abshref(val))
|
||||||
if href in self.images:
|
if href in self.images:
|
||||||
index = self.images[href]
|
index = self.images[href]
|
||||||
buffer.write('recindex="%05d"' % index)
|
buffer.write('recindex="%05d"' % index)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user