Hi, first of all, thanks so much for providing the scripts. This is incredibly generous.
When I try to run the script for primevideo with asin amzn1.dv.gti.e4d0fcd4-bf6d-4927-b6e1-e6a9d9706222, I got error No manifest urls found: PRS.NoRights.NotOwned. Not sure what have I done wrong. I have also use client_id.bin and private_key.pem to created a .wvd under the Device folder.
The content is viewable via browser tho. Idk, is it because some authorization issue?
Header.py:
# amazon uk
cookies = {
'ubid-acbuk': '',
'x-acbuk': '',
'at-acbuk': ''
}
# amazon de
cookies = {
'ubid-acbde': '',
'x-acbde': '',
'at-acbde': ''
}
# amazon.com
cookies = {
"ubid-main": "358-9099461-0647009",
"x-main": '"YAhISD5NlGkoDZMpK0CX9Ude5?KwmrCdUZGIr9SNBv7eoWXlynlLcfGBnM56hNOE"',
"at-main": "Atza|IwEBIJwFtJryNplhE_SLSok_BX6dCkI6Sd4ITj_Xn_yUWQnGlkbWK-7QqjBibPknPSUm7eupSbGYWnF7m_QoJZ2MIrox0Mewzm8SzqSR87x_TFGqZh7Uwq2znEmOxMltKzW_d4SZlrOU6zjfJqFuYqgIJCkThj3gAMDiQ3PVkAj6uhm7PAow7Kn1UwgQ2xgMUf7nqEPzRv1vdE7ttYpNGeEA53mFtzf529BxyRNeUHEWlZxcwd_2IYgkWEtyOa030dSxLU8",
}
The returned json from the line j = get_playback_resources(asin) is:
{
"catalogMetadata": {
"catalog": {
"entityType": "TV Show",
"episodeNumber": 1,
"id": "amzn1.dv.gti.e4d0fcd4-bf6d-4927-b6e1-e6a9d9706222",
"runtimeSeconds": 2617,
"synopsis": "It's a battle of the sexes when tribes are separated into men versus women, but they are in dismay when they learn of a game-changing twist - they must share one beach.",
"title": "Two Tribes, One Camp, No Rules",
"type": "EPISODE",
"version": "1.0"
},
"family": {
"tvAncestors": [
{
"catalog": {
"id": "amzn1.dv.gti.8b47d728-aab6-40c7-97f1-9546fdc09148",
"seasonNumber": 24,
"title": "Survivor Season 24 - One World",
"type": "SEASON",
"version": "1.0"
},
"version": "1"
},
{
"catalog": {
"id": "amzn1.dv.gti.b19b40ac-41cf-426d-a8c8-3cf7ce7bdc07",
"title": "Survivor",
"type": "SHOW",
"version": "1.0"
},
"version": "1"
}
],
"version": "1.0"
},
"images": {
"imageUrls": {
"episode": "https://images-fe.ssl-images-amazon.com/images/S/pv-target-images/44c67cbef58d300b1415b0a0f78804bea41d32bae3989e3b9230e27356e46d69._UY500_UX667_UY500_RI_TTW_.jpg",
"title": "https://images-fe.ssl-images-amazon.com/images/S/pv-target-images/44c67cbef58d300b1415b0a0f78804bea41d32bae3989e3b9230e27356e46d69._UY500_UX667_UY500_RI_TTW_.jpg"
},
"version": "1.0"
},
"playback": {
"accessControls": {
"pinLength": 0,
"restrictions": []
},
"summary": {
"isPlayable": false
},
"version": "2.0"
},
"reviews": {
"rating": {
"count": 0,
"value": 0.0
},
"version": "1.0"
},
"version": "1"
},
"errorsByResource": {
"PlaybackUrls": {
"errorCode": "PRS.NoRights.NotOwned",
"message": "Cannot complete request.",
"type": "PRSOwnershipException"
}
},
"returnedTitleRendition": {
"asin": "amzn1.dv.gti.e4d0fcd4-bf6d-4927-b6e1-e6a9d9706222",
"assetBundleVideoQuality": "HD",
"audioQuality": "Stereo",
"contentId": "amzn1.dv.vcid.5fc55ec3-01b7-43f5-ab6d-6ac51e5eece7",
"selectedEntitlement": {
"rightsException": {
"errorCode": "PRS.NoRights.NotOwned",
"message": "Cannot complete request.",
"type": "PRSOwnershipException"
}
},
"titleId": "amzn1.dv.gti.e4d0fcd4-bf6d-4927-b6e1-e6a9d9706222",
"videoMaterialType": "Feature",
"videoQuality": "UHD",
"videoResolution": "2160p"
}
}
{
"catalogMetadata": {
"catalog": {
"entityType": "TV Show",
"episodeNumber": 1,
"id": "amzn1.dv.gti.e4d0fcd4-bf6d-4927-b6e1-e6a9d9706222",
"runtimeSeconds": 2617,
"synopsis": "It's a battle of the sexes when tribes are separated into men versus women, but they are in dismay when they learn of a game-changing twist - they must share one beach.",
"title": "Two Tribes, One Camp, No Rules",
"type": "EPISODE",
"version": "1.0"
},
"family": {
"tvAncestors": [
{
"catalog": {
"id": "amzn1.dv.gti.8b47d728-aab6-40c7-97f1-9546fdc09148",
"seasonNumber": 24,
"title": "Survivor Season 24 - One World",
"type": "SEASON",
"version": "1.0"
},
"version": "1"
},
{
"catalog": {
"id": "amzn1.dv.gti.b19b40ac-41cf-426d-a8c8-3cf7ce7bdc07",
"title": "Survivor",
"type": "SHOW",
"version": "1.0"
},
"version": "1"
}
],
"version": "1.0"
},
"images": {
"imageUrls": {
"episode": "https://images-fe.ssl-images-amazon.com/images/S/pv-target-images/44c67cbef58d300b1415b0a0f78804bea41d32bae3989e3b9230e27356e46d69._UY500_UX667_UY500_RI_TTW_.jpg",
"title": "https://images-fe.ssl-images-amazon.com/images/S/pv-target-images/44c67cbef58d300b1415b0a0f78804bea41d32bae3989e3b9230e27356e46d69._UY500_UX667_UY500_RI_TTW_.jpg"
},
"version": "1.0"
},
"playback": {
"accessControls": {
"pinLength": 0,
"restrictions": []
},
"summary": {
"isPlayable": false
},
"version": "2.0"
},
"reviews": {
"rating": {
"count": 0,
"value": 0.0
},
"version": "1.0"
},
"version": "1"
},
"errorsByResource": {
"PlaybackUrls": {
"errorCode": "PRS.NoRights.NotOwned",
"message": "Cannot complete request.",
"type": "PRSOwnershipException"
}
},
"returnedTitleRendition": {
"asin": "amzn1.dv.gti.e4d0fcd4-bf6d-4927-b6e1-e6a9d9706222",
"assetBundleVideoQuality": "HD",
"audioQuality": "Stereo",
"contentId": "amzn1.dv.vcid.5fc55ec3-01b7-43f5-ab6d-6ac51e5eece7",
"selectedEntitlement": {
"rightsException": {
"errorCode": "PRS.NoRights.NotOwned",
"message": "Cannot complete request.",
"type": "PRSOwnershipException"
}
},
"titleId": "amzn1.dv.gti.e4d0fcd4-bf6d-4927-b6e1-e6a9d9706222",
"videoMaterialType": "Feature",
"videoQuality": "UHD",
"videoResolution": "2160p"
}
}
Hi, first of all, thanks so much for providing the scripts. This is incredibly generous. When I try to run the script for primevideo with asin
amzn1.dv.gti.e4d0fcd4-bf6d-4927-b6e1-e6a9d9706222
, I got errorNo manifest urls found: PRS.NoRights.NotOwned
. Not sure what have I done wrong. I have also useclient_id.bin
andprivate_key.pem
to created a.wvd
under the Device folder.The content is viewable via browser tho. Idk, is it because some authorization issue?
Header.py
:The returned json from the line
j = get_playback_resources(asin)
is: