mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #2044000 [Cannot download The New Yorker Magazine using Fetch News](https://bugs.launchpad.net/calibre/+bug/2044000)
This commit is contained in:
parent
402b2a589e
commit
0419739c50
@ -135,7 +135,7 @@ class NewYorker(BasicNewsRecipe):
|
|||||||
# Get description
|
# Get description
|
||||||
body = story.find(attrs={'class': 'River__dek___CayIg'})
|
body = story.find(attrs={'class': 'River__dek___CayIg'})
|
||||||
if body is not None:
|
if body is not None:
|
||||||
desc = body.contents[0]
|
desc = str(body.contents[0])
|
||||||
|
|
||||||
self.log('Found article:', title)
|
self.log('Found article:', title)
|
||||||
self.log('\t' + url)
|
self.log('\t' + url)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user