Giter Club home page Giter Club logo

amzn-480p-downloader's Introduction

  • ๐Ÿ‘‹ Hi, Iโ€™m @DevLARLEY because LARLEY was already taken.
  • ๐Ÿ‘€ Iโ€™m interested in ...
  • ๐ŸŒฑ Iโ€™m currently learning ...
  • ๐Ÿ’ž๏ธ Iโ€™m looking to collaborate on ...
  • ๐Ÿ“ซ How to reach me ...

amzn-480p-downloader's People

Contributors

devlarley avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

amzn-480p-downloader's Issues

Can't get it to work on Amzn UK

Is this script for US/EU only?

For UK the headers are titled differently than the examples in the headers.py:

ubid-acbde is ubid-acbuk
x-acbde is x-acbuk
at-acbde is at-acbuk

I changed them and input the correct data, but having no luck.

I see point 6 in the README says to change the TLD variable but I cant see anything in the script or headers.py to change, does this work on Amzn UK?

Getting PRS.NoRights.NotOwned error

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"
    }
}

Primevideo.com

Hi there, can the script be adapted to make it work for primevideo.com?

Unclear instructions in README

Hello I have problems understanding the instructions given in the readme file. Especially 2. and 3.

  1. Drop the file in either of those

Wich file in which "of those"?

  1. Add an L3 CDM in the right folder

Wich folder ist the right one? Is the L3 CDM the device_private_key and device_client_id_blob?

Thank you!

Edit: Typo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.