This commit is contained in:
Kovid Goyal 2016-04-24 20:24:29 +05:30
parent 492b0cdbd9
commit 3caa7b7c92

View File

@ -70,7 +70,7 @@ class Time(JavascriptRecipe):
articles = [] articles = []
for article in data['articles']: for article in data['articles']:
title = article.get('friendly_title') or article.get('short_title') title = article.get('friendly_title') or article.get('short_title')
if title == 'In the Latest Issue': if title == 'In the Latest Issue' or 'content' not in article:
continue continue
url = article['shortlink'] url = article['shortlink']
desc = article.get('excerpt') or '' desc = article.get('excerpt') or ''