diff --git a/recipes/new_york_review_of_books.recipe b/recipes/new_york_review_of_books.recipe index 48bca9d3d7..c76078be13 100644 --- a/recipes/new_york_review_of_books.recipe +++ b/recipes/new_york_review_of_books.recipe @@ -60,9 +60,9 @@ class NewYorkReviewOfBooks(BasicNewsRecipe): # ipython({'soup': soup}) # Find cover - cover = soup.find('img', attrs={'class':'border-light-gray'}) + cover = soup.find('img', attrs={'class':'border-light-gray', 'src': True}) if cover is not None: - self.cover_url = absurl(cover['data-lazy-src']) + self.cover_url = absurl(cover['src']) self.log('Found cover at:', self.cover_url) # Find date diff --git a/recipes/new_york_review_of_books_no_sub.recipe b/recipes/new_york_review_of_books_no_sub.recipe index d179aca304..548ab2bf37 100644 --- a/recipes/new_york_review_of_books_no_sub.recipe +++ b/recipes/new_york_review_of_books_no_sub.recipe @@ -50,9 +50,9 @@ class NewYorkReviewOfBooks(BasicNewsRecipe): # ipython({'soup': soup}) # Find cover - cover = soup.find('img', attrs={'class':'border-light-gray'}) + cover = soup.find('img', attrs={'class':'border-light-gray', 'src': True}) if cover is not None: - self.cover_url = absurl(cover['data-lazy-src']) + self.cover_url = absurl(cover['src']) self.log('Found cover at:', self.cover_url) # Find date