From 75266ce4ed190192082cc86f8e17b16d984873d9 Mon Sep 17 00:00:00 2001 From: Bart Broere Date: Sun, 20 Oct 2024 13:41:53 +0200 Subject: [PATCH] Fix old metadata reference --- youtube_dl/extractor/npo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/npo.py b/youtube_dl/extractor/npo.py index 8d8499e84..89403a9d8 100644 --- a/youtube_dl/extractor/npo.py +++ b/youtube_dl/extractor/npo.py @@ -192,7 +192,7 @@ class BNNVaraIE(NPOIE): }) 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) return {