mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Log error if no article blurbs were found under section page
This commit is contained in:
parent
ba6eb03278
commit
8d2a1e2d49
@ -172,7 +172,8 @@ class Fokus(BasicNewsRecipe):
|
|||||||
article_blurbs = []
|
article_blurbs = []
|
||||||
|
|
||||||
if not article_blurbs:
|
if not article_blurbs:
|
||||||
raise ValueError('Failed to identify any article blurbs.')
|
self.log.error('Failed to identify any article blurbs.')
|
||||||
|
return {}
|
||||||
|
|
||||||
parsed_blurbs = {}
|
parsed_blurbs = {}
|
||||||
for article_blurb in article_blurbs:
|
for article_blurb in article_blurbs:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user