From 0419739c509c36419cbebbf41ca4c291b047ea99 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 20 Nov 2023 21:47:28 +0530 Subject: [PATCH] Fix #2044000 [Cannot download The New Yorker Magazine using Fetch News](https://bugs.launchpad.net/calibre/+bug/2044000) --- recipes/new_yorker.recipe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/new_yorker.recipe b/recipes/new_yorker.recipe index 0335a71b5b..a109264742 100644 --- a/recipes/new_yorker.recipe +++ b/recipes/new_yorker.recipe @@ -135,7 +135,7 @@ class NewYorker(BasicNewsRecipe): # Get description body = story.find(attrs={'class': 'River__dek___CayIg'}) if body is not None: - desc = body.contents[0] + desc = str(body.contents[0]) self.log('Found article:', title) self.log('\t' + url)