1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-11-10 11:35:14 +00:00

[ie/youtube] Improve player context payloads (#13539)

Closes #12563
Authored by: bashonly
This commit is contained in:
bashonly
2025-06-25 12:10:00 -05:00
committed by GitHub
parent 73bf102116
commit ff6f94041a

View File

@@ -2820,6 +2820,10 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
context['signatureTimestamp'] = sts
return {
'playbackContext': {
'adPlaybackContext': {
'pyv': True,
'adType': 'AD_TYPE_INSTREAM',
},
'contentPlaybackContext': context,
},
**cls._get_checkok_params(),