1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-25 02:07:44 +00:00
This commit is contained in:
Bart Broere 2024-03-05 12:49:22 +01:00
parent 34b5b20107
commit 4fc423845e

View file

@ -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: