|
|
@ -5,6 +5,7 @@ from ..utils import (
|
|
|
|
ExtractorError,
|
|
|
|
ExtractorError,
|
|
|
|
try_get,
|
|
|
|
try_get,
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
from ..utils.traversal import traverse_obj
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class PokerGoBaseIE(InfoExtractor):
|
|
|
|
class PokerGoBaseIE(InfoExtractor):
|
|
|
@ -65,7 +66,7 @@ class PokerGoIE(PokerGoBaseIE):
|
|
|
|
'width': image.get('width'),
|
|
|
|
'width': image.get('width'),
|
|
|
|
'height': image.get('height'),
|
|
|
|
'height': image.get('height'),
|
|
|
|
} for image in data_json.get('images') or [] if image.get('url')]
|
|
|
|
} for image in data_json.get('images') or [] if image.get('url')]
|
|
|
|
series_json = next(dct for dct in data_json.get('show_tags') or [] if dct.get('video_id') == video_id) or {}
|
|
|
|
series_json = traverse_obj(data_json, ('show_tags', lambda _, v: v['video_id'] == video_id, any)) or {}
|
|
|
|
|
|
|
|
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
'_type': 'url_transparent',
|
|
|
|
'_type': 'url_transparent',
|
|
|
|