From 4c168fd409d22a94be3534fe3ccebd93f7ff534d Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 27 Jul 2021 12:11:27 +0530 Subject: [PATCH] ... --- recipes/natgeo.recipe | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes/natgeo.recipe b/recipes/natgeo.recipe index 773277e6a2..57ff66dc8d 100644 --- a/recipes/natgeo.recipe +++ b/recipes/natgeo.recipe @@ -75,6 +75,8 @@ def parse_article(edg): def article_parse(data): yield "" for frm in data['frms']: + if not frm: + continue for mod in frm.get('mods', ()): for edg in mod.get('edgs', ()): if edg.get('cmsType') == 'ArticleBodyTile':