|
|
@ -112,7 +112,8 @@ class URPlayIE(InfoExtractor):
|
|
|
|
lang = ISO639Utils.short2long(lang)
|
|
|
|
lang = ISO639Utils.short2long(lang)
|
|
|
|
return lang or None
|
|
|
|
return lang or None
|
|
|
|
|
|
|
|
|
|
|
|
for k, v in (urplayer_data['streamingInfo'].get('sweComplete') or {}).items():
|
|
|
|
for stream in urplayer_data['streamingInfo'].values():
|
|
|
|
|
|
|
|
for k, v in stream.items():
|
|
|
|
if (k in ('sd', 'hd') or not isinstance(v, dict)):
|
|
|
|
if (k in ('sd', 'hd') or not isinstance(v, dict)):
|
|
|
|
continue
|
|
|
|
continue
|
|
|
|
lang, sttl_url = (v.get(kk) for kk in ('language', 'location', ))
|
|
|
|
lang, sttl_url = (v.get(kk) for kk in ('language', 'location', ))
|
|
|
|