diff options
author | Remita Amine <[email protected]> | 2021-02-03 17:15:31 +0100 |
---|---|---|
committer | Remita Amine <[email protected]> | 2021-02-03 17:15:31 +0100 |
commit | ab25f3f43196ca56964ba34ba4674fcb2d08f69a (patch) | |
tree | d58903db2694e860454f2cc90ec26fc94460ae8d | |
parent | 07f7aad81c47a11483a357e53380fae1ffbadea9 (diff) | |
download | youtube-dl-ab25f3f43196ca56964ba34ba4674fcb2d08f69a.tar.gz youtube-dl-ab25f3f43196ca56964ba34ba4674fcb2d08f69a.zip |
[youtube] pass embed URL to get_video_info request
-rw-r--r-- | youtube_dl/extractor/youtube.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py index 75a007353..42b0f452c 100644 --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -1397,6 +1397,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor): 'Refetching age-gated info webpage', 'unable to download video info webpage', query={ 'video_id': video_id, + 'eurl': 'https://www.youtube.com/embed/' + video_id, }, fatal=False)), lambda x: x['player_response'][0], compat_str) or '{}', video_id) |