mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
6c1a08ee11
commit
3828068b84
@ -201,7 +201,7 @@ class NewYorkTimes(BasicNewsRecipe):
|
||||
url = adata.get('url')
|
||||
summary = adata.get('summary')
|
||||
headline = adata.get('headline')
|
||||
if url and headline:
|
||||
if url and headline and 'id' in headline:
|
||||
title = data[headline['id']]['default']
|
||||
article_map[adata['id']] = {
|
||||
'title': title, 'url': url, 'description': summary or ''}
|
||||
|
Loading…
x
Reference in New Issue
Block a user