1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-22 02:01:50 +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 {