DRM Scripts
Amazon Prime Video
$100.00 $200.00
Amazon Prime Video Live TV O11 OTT Streamer Live TV Prime Video PlayReady DRM Account + Cookies Required Python streaming script for Amazon Prime Video Live TV. Authenticates via exported Amazon cookies, lists live TV channels and special events, extracts DASH MPD manifests, and retDescription
Amazon Prime Video Live TV O11 OTT Streamer
Live TV Prime Video PlayReady DRM Account + Cookies Required
Python streaming script for Amazon Prime Video Live TV. Authenticates via exported Amazon cookies, lists live TV channels and special events, extracts DASH MPD manifests, and retrieves PlayReady DRM decryption keys. Fully adaptable to any Prime Video region — the included example is configured for Brazil, but works in US, UK, Europe, and any other region with Prime Video Live TV.
Account Required: You need an active Amazon Prime subscription and valid exported cookies (ubid-main-av, at-main-av, x-main-av, session-token). Prime Video Live TV is region-locked — your cookies and proxy must match the same country.
What's Included
- Prime Video Live TV channel scraper (configurable JSON channel list)
- Live events extraction (sports, special broadcasts)
- DASH MPD manifest extraction via Amazon CDP API
- PlayReady CDM key retrieval using pyplayready
- PSSH auto-extraction from MPD manifest
- Auto cookie refresh (x-main-av token renewal)
- O11-compatible JSON output format
- Full proxy support for all API calls
Sample Channels (Brazil Version)
| Channel | Category |
|---|---|
| CazéTV / CazéTV 2 / CazéTV 3 | Sports / Entertainment |
| Sportv / Sportv2 / Sportv3 | Sports (Brazilian football) |
| Premiere 1-8 / Universal Premiere | Live Football / Sports |
| Combate | MMA / Combat Sports |
| NBA TV International | Basketball |
| NFL Network | American Football |
| CNN Brasil / Bloomberg TV | News |
| GNT / Gloob / Gloobinho / Multishow / Bis / Off | Entertainment / Kids |
| Globoplay Novelas / Canal Brasil / Futura | TV / Culture |
| UniversalTV / Studio Universal / USA / Megapix | Movies / Series |
Available Regions
Amazon Prime Video Live TV is available in multiple regions. The script is fully adaptable — just update the marketplace ID, locale, cookies file, and channel JSON for your target country:
| Region | Live TV Content |
|---|---|
| Brazil | Sportv, Premiere, Combate, CazéTV, NBA TV, NFL Network, Globoplay, etc. |
| United States | MLB.TV, NBA League Pass, Paramount+, PGA Tour, Motortrend, etc. |
| United Kingdom | UEFA Champions League, Premier League, live sports add-ons |
| Europe | Regional sports channels, local broadcasters (varies by country) |
| Latin America | Regional live TV channels and sports events |
Requirements
- Active Amazon Prime subscription with Live TV access
- Valid exported Amazon cookies (ubid-main-av, at-main-av, x-main-av, session-token, device_id)
- Country-matching IP / proxy (Amazon blocks cross-region access)
- Python 3.11 with requests, beautifulsoup4, pyplayready
- PlayReady CDM device file (.prd)
- Channel list JSON file for your region
Usage
1. List live channels
python3 amazonprime_br.py action=channels
2. List live events
python3 amazonprime_br.py action=events
3. Get DASH manifest
python3 amazonprime_br.py action=manifest id=CHANNEL_ID
4. Get decryption keys (CDM)
python3 amazonprime_br.py action=cdm id=CHANNEL_ID
Technical Specs
| Item | Detail |
|---|---|
| Auth | Amazon session cookies (ubid-main-av, at-main-av, x-main-av) |
| API | atv-ps.primevideo.com (Amazon CDP Catalog API) |
| DRM | PlayReady (CENC) |
| Manifest | DASH (MPD) |
| Codecs | H.264, AAC |
| Output | O11 JSON (channels / events) |
Features
- Auto cookie refresh (x-main-av renewal via livetv endpoint)
- Configurable JSON channel list per region
- Live events extraction with start/end timestamps
- DASH MPD manifest extraction via Amazon's CDP API
- PlayReady license acquisition with full pyplayready integration
- PSSH auto-extraction from manifest or manual override
- Duplicate event filtering with GTI tracking
- Proxy support for all API and license requests
- O11-compatible output with full channel metadata
- Region-adaptable: Change marketplace ID, locale, cookies and channels for any country
Note: For personal use by legitimate Amazon Prime subscribers only. You must provide your own active account and valid session cookies. Country-matching proxy is mandatory for cross-region access. The included Brazil config can be adapted to US, UK, EU, or any other Prime Video region.
