mirror of https://github.com/yt-dlp/yt-dlp.git
[youtube] Fix for new accounts
Cookies for some new accounts doesn't work with age-gated videos without `has_verified=1`
This commit is contained in:
parent
44f705d001
commit
a718ef84c8
|
@ -1414,7 +1414,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
|||
url, smuggled_data = unsmuggle_url(url, {})
|
||||
video_id = self._match_id(url)
|
||||
base_url = self.http_scheme() + '//www.youtube.com/'
|
||||
webpage_url = base_url + 'watch?v=' + video_id
|
||||
webpage_url = base_url + 'watch?v=' + video_id + '&has_verified=1'
|
||||
webpage = self._download_webpage(webpage_url, video_id, fatal=False)
|
||||
|
||||
player_response = None
|
||||
|
|
Loading…
Reference in New Issue