|
|
@ -728,11 +728,12 @@ class CrunchyrollBetaBaseIE(CrunchyrollBaseIE):
|
|
|
|
headers={
|
|
|
|
headers={
|
|
|
|
'Authorization': auth_response['token_type'] + ' ' + auth_response['access_token']
|
|
|
|
'Authorization': auth_response['token_type'] + ' ' + auth_response['access_token']
|
|
|
|
})
|
|
|
|
})
|
|
|
|
bucket = policy_response['cms']['bucket']
|
|
|
|
cms = traverse_obj(policy_response, 'cms_beta', 'cms')
|
|
|
|
|
|
|
|
bucket = cms['bucket']
|
|
|
|
params = {
|
|
|
|
params = {
|
|
|
|
'Policy': policy_response['cms']['policy'],
|
|
|
|
'Policy': cms['policy'],
|
|
|
|
'Signature': policy_response['cms']['signature'],
|
|
|
|
'Signature': cms['signature'],
|
|
|
|
'Key-Pair-Id': policy_response['cms']['key_pair_id']
|
|
|
|
'Key-Pair-Id': cms['key_pair_id']
|
|
|
|
}
|
|
|
|
}
|
|
|
|
locale = traverse_obj(initial_state, ('localization', 'locale'))
|
|
|
|
locale = traverse_obj(initial_state, ('localization', 'locale'))
|
|
|
|
if locale:
|
|
|
|
if locale:
|
|
|
|