projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07f7aad
)
[youtube] pass embed URL to get_video_info request
author
Remita Amine
<remitamine@gmail.com>
Wed, 3 Feb 2021 16:15:31 +0000
(17:15 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Wed, 3 Feb 2021 16:15:31 +0000
(17:15 +0100)
youtube_dl/extractor/youtube.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/youtube.py
b/youtube_dl/extractor/youtube.py
index 75a007353f812a1b46ec9ef4d2e791fcb61ae440..42b0f452c79b5cfd0f38376faa56d23967e1ff9b 100644
(file)
--- 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)