|
|
|
@ -198,9 +198,10 @@ class BNNVaraIE(NPOIE):
|
|
|
|
|
headers={
|
|
|
|
|
'Content-Type': 'application/json',
|
|
|
|
|
})
|
|
|
|
|
product_id = media.get('data', {}).get('player', {}).get('pomsProductId')
|
|
|
|
|
|
|
|
|
|
formats = self._extract_formats_by_product_id(product_id, video_id)
|
|
|
|
|
|
|
|
|
|
product_id = traverse_obj(media, ('data', 'player', 'pomsProductId'))
|
|
|
|
|
formats = self._download_by_product_id(product_id, video_id) if product_id else []
|
|
|
|
|
self._sort_formats(formats)
|
|
|
|
|
|
|
|
|
|
return {
|
|
|
|
|
'id': product_id,
|
|
|
|
|