Fix #5317 (New York Review of Books: works but recipes misnamed)

This commit is contained in:
Kovid Goyal 2010-04-25 07:57:50 -06:00
parent b2f590b6b3
commit 7df1f79d9a
2 changed files with 2 additions and 2 deletions

View file

@ -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'

View file

@ -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)