mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-23 02:32:16 +00:00
Fix lint
This commit is contained in:
parent
34b5b20107
commit
4fc423845e
1 changed files with 3 additions and 5 deletions
|
@ -80,11 +80,9 @@ class NPOIE(InfoExtractor):
|
|||
product_id = entry.get('productId')
|
||||
title = entry.get('title')
|
||||
synopsis = entry.get('synopsis', {})
|
||||
description = (
|
||||
synopsis.get('long')
|
||||
or synopsis.get('short')
|
||||
or synopsis.get('brief')
|
||||
)
|
||||
description = (synopsis.get('long')
|
||||
or synopsis.get('short')
|
||||
or synopsis.get('brief'))
|
||||
thumbnails = entry.get('images')
|
||||
for thumbnail_entry in thumbnails:
|
||||
if 'url' in thumbnail_entry:
|
||||
|
|
Loading…
Reference in a new issue