Fix lint
This commit is contained in:
parent
34b5b20107
commit
4fc423845e
@ -80,11 +80,9 @@ class NPOIE(InfoExtractor):
|
|||||||
product_id = entry.get('productId')
|
product_id = entry.get('productId')
|
||||||
title = entry.get('title')
|
title = entry.get('title')
|
||||||
synopsis = entry.get('synopsis', {})
|
synopsis = entry.get('synopsis', {})
|
||||||
description = (
|
description = (synopsis.get('long')
|
||||||
synopsis.get('long')
|
|
||||||
or synopsis.get('short')
|
or synopsis.get('short')
|
||||||
or synopsis.get('brief')
|
or synopsis.get('brief'))
|
||||||
)
|
|
||||||
thumbnails = entry.get('images')
|
thumbnails = entry.get('images')
|
||||||
for thumbnail_entry in thumbnails:
|
for thumbnail_entry in thumbnails:
|
||||||
if 'url' in thumbnail_entry:
|
if 'url' in thumbnail_entry:
|
||||||
|
Loading…
Reference in New Issue
Block a user