1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-11-20 18:36:06 +08:00

[fix] Build fail.

This commit is contained in:
living 2020-10-29 15:00:23 -04:00 committed by GitHub
parent 6a82b63f29
commit c61a20804d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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