mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-06-27 08:58:30 +00:00
[ie/youtube] Improve player context payloads (#13539)
Closes #12563 Authored by: bashonly
This commit is contained in:
parent
73bf102116
commit
ff6f94041a
@ -2820,6 +2820,10 @@ def _generate_player_context(cls, sts=None):
|
||||
context['signatureTimestamp'] = sts
|
||||
return {
|
||||
'playbackContext': {
|
||||
'adPlaybackContext': {
|
||||
'pyv': True,
|
||||
'adType': 'AD_TYPE_INSTREAM',
|
||||
},
|
||||
'contentPlaybackContext': context,
|
||||
},
|
||||
**cls._get_checkok_params(),
|
||||
|
Loading…
Reference in New Issue
Block a user