mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-18 07:01:45 +00:00
[youtube] Fix age-gated videos for API clients when cookies are supplied (#545)
Fixes #543 Authored by: colethedj
This commit is contained in:
parent
3ba7740dd8
commit
2fd226f6a7
@ -2343,7 +2343,8 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
|||||||
'playbackContext': {
|
'playbackContext': {
|
||||||
'contentPlaybackContext': context
|
'contentPlaybackContext': context
|
||||||
},
|
},
|
||||||
'contentCheckOk': True
|
'contentCheckOk': True,
|
||||||
|
'racyCheckOk': True
|
||||||
}
|
}
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
Loading…
Reference in New Issue
Block a user