projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f493de
)
[youtube] imporve age-restricted video extraction(#28578)
author
Remita Amine
<remitamine@gmail.com>
Tue, 30 Mar 2021 20:44:41 +0000
(21:44 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Tue, 30 Mar 2021 20:45:08 +0000
(21:45 +0100)
youtube_dl/extractor/youtube.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/youtube.py
b/youtube_dl/extractor/youtube.py
index e48c5a7d2efba4f9bede8893d7cfae0aac1b8ce5..6a92938a57c509c4624da90b3997e4c5e5d66200 100644
(file)
--- a/
youtube_dl/extractor/youtube.py
+++ b/
youtube_dl/extractor/youtube.py
@@
-1432,7
+1432,7
@@
class YoutubeIE(YoutubeBaseInfoExtractor):
base_url = self.http_scheme() + '//www.youtube.com/'
webpage_url = base_url + 'watch?v=' + video_id
webpage = self._download_webpage(
- webpage_url + '&bpctr=9999999999', video_id, fatal=False)
+ webpage_url + '&bpctr=9999999999
&has_verified=1
', video_id, fatal=False)
player_response = None
if webpage: