mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
3e09d4f456
commit
4c168fd409
@ -75,6 +75,8 @@ def parse_article(edg):
|
|||||||
def article_parse(data):
|
def article_parse(data):
|
||||||
yield "<html><body>"
|
yield "<html><body>"
|
||||||
for frm in data['frms']:
|
for frm in data['frms']:
|
||||||
|
if not frm:
|
||||||
|
continue
|
||||||
for mod in frm.get('mods', ()):
|
for mod in frm.get('mods', ()):
|
||||||
for edg in mod.get('edgs', ()):
|
for edg in mod.get('edgs', ()):
|
||||||
if edg.get('cmsType') == 'ArticleBodyTile':
|
if edg.get('cmsType') == 'ArticleBodyTile':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user