projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a04e03
)
[youtube] fix get_video_info request
author
Remita Amine
<remitamine@gmail.com>
Sun, 21 Feb 2021 22:08:40 +0000
(23:08 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Sun, 21 Feb 2021 22:09:09 +0000
(23:09 +0100)
youtube_dl/extractor/youtube.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/youtube.py
b/youtube_dl/extractor/youtube.py
index 72d9fbbc6f9ecd768c34552d96b5dead0c4b80a3..2496d27f13dcd51b7b8a45e6e3f908c16fa57785 100644
(file)
--- 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)