diff --git a/src/calibre/web/feeds/news.py b/src/calibre/web/feeds/news.py index 7c361953b1..dfcadf03ed 100644 --- a/src/calibre/web/feeds/news.py +++ b/src/calibre/web/feeds/news.py @@ -806,7 +806,7 @@ class BasicNewsRecipe(Recipe): return index - def download_cover(self): + def _download_cover(self): self.cover_path = None try: cu = self.get_cover_url() @@ -839,6 +839,14 @@ class BasicNewsRecipe(Recipe): f.write(mi.cover_data[1]) self.cover_path = cpath + def download_cover(self): + try: + self._download_cover() + except: + self.log.exception('Failed to download cover') + self.cover_path = None + + def default_cover(self, cover_file): '''