|
|
@ -2051,7 +2051,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
|
|
|
|
|
|
|
|
|
|
|
if cipher:
|
|
|
|
if cipher:
|
|
|
|
if 's' in url_data or self._downloader.params.get('youtube_include_dash_manifest', True):
|
|
|
|
if 's' in url_data or self._downloader.params.get('youtube_include_dash_manifest', True):
|
|
|
|
ASSETS_RE = r'"assets":.+?"js":\s*("[^"]+")'
|
|
|
|
ASSETS_RE = r'(?:"assets":.+?"js":\s*("[^"]+"))|(?:"jsUrl":\s*("[^"]+"))'
|
|
|
|
jsplayer_url_json = self._search_regex(
|
|
|
|
jsplayer_url_json = self._search_regex(
|
|
|
|
ASSETS_RE,
|
|
|
|
ASSETS_RE,
|
|
|
|
embed_webpage if age_gate else video_webpage,
|
|
|
|
embed_webpage if age_gate else video_webpage,
|
|
|
|