DRM Scripts
Peacock TV
$100.00 $150.00
Peacock TV (O11 OTT Streamer) Live TV & Events NBC Universal Widevine L3 US Proxy Required Python streaming script for Peacock TV live channels and special events (sports, NBC shows, Premier League). Authenticates via Sky/NBCU token API, lists live channels and events, extractsDescription
Peacock TV (O11 OTT Streamer)
Live TV & Events NBC Universal Widevine L3 US Proxy Required
Python streaming script for Peacock TV live channels and special events (sports, NBC shows, Premier League). Authenticates via Sky/NBCU token API, lists live channels and events, extracts DASH/HLS manifests, and handles Widevine L3 DRM key retrieval.
Geo-Blocked: Requires US IP address. Peacock TV is only available in the United States.
Available Modes
| Mode | |
|---|---|
| Live Channels | Linear TV guide with all Peacock live channels (news, sports, entertainment) |
| Live Events | Special events grid (Premier League, Olympics, WWE, NFL) |
| On-Demand | Movies and series catalogue access |
Requirements
- Active Peacock TV subscription (Premium or Premium Plus)
- US IP / proxy (mandatory - Peacock blocks all non-US traffic)
- Valid Peacock TV cookies (exported from browser session)
- Python 3.8+ with requests library
- Widevine L3 CDM file (device.wvd)
Usage
1. List live channels
python3 peacocktv.py action=channels
2. List live events
python3 peacocktv.py action=events
3. Get manifest URL
python3 peacocktv.py action=manifest id=CHANNEL_ID
4. Get decryption keys (CDM)
python3 peacocktv.py action=cdm id=CHANNEL_ID challenge=BASE64_CHALLENGE
5. Refresh O11 streams
python3 peacocktv.py action=refresh
6. Start API server (EPG + redirects)
python3 peacocktv.py action=api
Technical Specs
| Item | Detail |
|---|---|
| Auth | Sky/NBCU token API (Messo auth scheme) |
| API Base | play.ovp.peacocktv.com / bff-ext.clients.peacocktv.com |
| DRM | Widevine L3 (ISOBMFF + DASH) |
| Manifest | DASH (live channels & events) |
| Video Codecs | H.264, HEVC |
| Audio Codecs | AAC |
| Output | DASH / HLS-TS (configurable) |
| EPG | XMLTV format with timezone conversion |
| API Mode | Flask server (port 5001) for stream URLs + EPG |
Features
- Auto session token generation with signature validation
- Live channel guide extraction with full metadata
- Live events grid (sports, specials) with start/end times
- Channel and event manifest URL extraction
- Widevine license acquisition with custom signature
- Proxy-aware API calls (all traffic routed)
- EPG XML generation with timezone conversion (US/Eastern)
- Flask API mode for direct streaming URL access
- O11 integration (stream refresh, local events API)
