aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2021-02-21 23:08:40 +0100
committerRemita Amine <remitamine@gmail.com>2021-02-21 23:09:09 +0100
commit2090dbdc8c51d18760957e248f5ff152209f9236 (patch)
treeccf9d0f0eacbd7cd6c64264a39bd90bdb698f6fa /youtube_dl/extractor
parent0a04e03a0245d78593844e7b7930920051b9cc27 (diff)
[youtube] fix get_video_info request
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/youtube.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py
index 72d9fbbc6..2496d27f1 100644
--- a/youtube_dl/extractor/youtube.py
+++ b/youtube_dl/extractor/youtube.py
@@ -1450,7 +1450,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,
+ 'eurl': 'https://youtube.googleapis.com/v/' + video_id,
}, fatal=False)),
lambda x: x['player_response'][0],
compat_str) or '{}', video_id)