diff --git a/recipes/nytfeeds.recipe b/recipes/nytfeeds.recipe
index e7e6a8ab31..3fed8877c2 100644
--- a/recipes/nytfeeds.recipe
+++ b/recipes/nytfeeds.recipe
@@ -46,7 +46,7 @@ def parse_vid(v):
yield '
' + v['promotionalSummary'] + '
'
def parse_emb(e):
- if e.get('html') and 'datawrapper.dwcdn.net' in e['html']:
+ if e.get('html') and 'datawrapper.dwcdn.net' in e.get('html', ''):
dw = re.search(r'datawrapper.dwcdn.net/(.{5})', e['html']).group(1)
yield '
'.format('https://datawrapper.dwcdn.net/' + dw + '/full.png') + '
'
elif e.get('promotionalMedia'):