1
mirror of https://github.com/yt-dlp/yt-dlp synced 2024-12-22 23:13:00 +01:00

[youtube] Fix age-gated videos for API clients when cookies are supplied (#545)

Fixes #543
Authored by: colethedj
This commit is contained in:
coletdjnz 2021-07-22 20:11:04 +12:00 committed by GitHub
parent 3ba7740dd8
commit 2fd226f6a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2343,7 +2343,8 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
'playbackContext': {
'contentPlaybackContext': context
},
'contentCheckOk': True
'contentCheckOk': True,
'racyCheckOk': True
}
@staticmethod