1
0
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-12-16 14:36:47 +00:00

Fix old metadata reference

This commit is contained in:
Bart Broere 2024-10-20 13:41:53 +02:00
parent 817e2e5938
commit 75266ce4ed

View File

@ -192,7 +192,7 @@ class BNNVaraIE(NPOIE):
}) })
product_id = traverse_obj(media, ('data', 'player', 'pomsProductId')) product_id = traverse_obj(media, ('data', 'player', 'pomsProductId'))
formats = self._download_by_product_id(product_id, video_id) if product_id else [] formats = self._extract_formats_by_product_id(product_id, video_id) if product_id else []
self._sort_formats(formats) self._sort_formats(formats)
return { return {