mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-06-27 17:08:32 +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
|
context['signatureTimestamp'] = sts
|
||||||
return {
|
return {
|
||||||
'playbackContext': {
|
'playbackContext': {
|
||||||
|
'adPlaybackContext': {
|
||||||
|
'pyv': True,
|
||||||
|
'adType': 'AD_TYPE_INSTREAM',
|
||||||
|
},
|
||||||
'contentPlaybackContext': context,
|
'contentPlaybackContext': context,
|
||||||
},
|
},
|
||||||
**cls._get_checkok_params(),
|
**cls._get_checkok_params(),
|
||||||
|
Loading…
Reference in New Issue
Block a user