[ie/youtube] Improve player context payloads (#13539)
Closes #12563 Authored by: bashonly
This commit is contained in:
parent
73bf102116
commit
ff6f94041a
1 changed files with 4 additions and 0 deletions
|
|
@ -2820,6 +2820,10 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
||||||
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…
Add table
Add a link
Reference in a new issue