diff options
author | coletdjnz <colethedj@protonmail.com> | 2021-07-22 20:11:04 +1200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-22 08:11:04 +0000 |
commit | 2fd226f6a76715e429709d7172183d48e07c7ab3 (patch) | |
tree | b99577d4c4e3d1e5b3a668d3506735bf24251acf | |
parent | 3ba7740dd841ebcfe8f47612eac30d3b470fa93d (diff) | |
download | hypervideo-pre-2fd226f6a76715e429709d7172183d48e07c7ab3.tar.lz hypervideo-pre-2fd226f6a76715e429709d7172183d48e07c7ab3.tar.xz hypervideo-pre-2fd226f6a76715e429709d7172183d48e07c7ab3.zip |
[youtube] Fix age-gated videos for API clients when cookies are supplied (#545)
Fixes #543
Authored by: colethedj
-rw-r--r-- | yt_dlp/extractor/youtube.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/yt_dlp/extractor/youtube.py b/yt_dlp/extractor/youtube.py index 7a1d39ac8..970f9a072 100644 --- a/yt_dlp/extractor/youtube.py +++ b/yt_dlp/extractor/youtube.py @@ -2343,7 +2343,8 @@ class YoutubeIE(YoutubeBaseInfoExtractor): 'playbackContext': { 'contentPlaybackContext': context }, - 'contentCheckOk': True + 'contentCheckOk': True, + 'racyCheckOk': True } @staticmethod |