VideoHelp Forum





Try StreamFab Downloader and download streaming video from Netflix, Amazon!



+ Reply to Thread
Results 1 to 4 of 4
  1. Hi everyone,

    I'm looking for help with a license request for a on Sooka.my. My script keeps getting an "Invalid license challenge" error.

    Video Link: https://sooka.my/watch/movie/1fc22f92-207c-4ff1-906c-3a33ceb31f84 (Note: This is a free-to-watch with a free account. Geo-restricted to Malaysia.)

    The Error: {"code":170101,"message":"Invalid license challenge."}

    Code:
     License URL: https://license.ctrp.astro.com.my/licenseServer/widevine/v1/astro/license?contentId=16fa4db42f4bfe44bde994fb756976ca-40a1412172098afb28a4-1
    
    PSSH: AAAAMnBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABISEBha/MX4ilFpt+3sGGraDMo=
    My Headers and Payload: I am using a private L3 WVD and Python requests. I've matched the X-Media-Id and Authorization headers from my browser's network tab.

    Code:
     Payload: { "contentID": "16fa4db42f4bfe44bde994fb756976ca-40a1412172098afb28a4-1", "contentType": 1, "authorizationToken": "eyJhbG...[REDACTED]", "authorizationTokenType": "1", "licenseChallenge": "[BASE64_CHALLENGE]", "playbackSessionCookie": null }
    I am sending the JSON payload using Python requests with separators=(',', ':') to ensure there is no extra whitespace. My X-Media-Id and Authorization headers match the browser's network logs exactly.

    Any help would be appreciated!
    Quote Quote  
  2. use WidevineProxy2
    Code:
    N_m3u8DL-RE "https://vodc.dp.sooka.my/16fa4db42f4bfe44bde994fb756976ca-40a1412172098afb28a4-1/16fa4db42f4bfe44bde994fb756976ca-40a1412172098afb28a4-1/index.mpd" -H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:146.0) Gecko/20100101 Firefox/146.0" -H "Accept: */*" -H "Referer: https://sooka.my/" -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3NjcyMDE1MDIsImlzcyI6IlZSIiwiZXhwIjoxNzY3MjMwMzAyLCJ3bXZlciI6Mywid21pZGZtdCI6ImFzY2lpIiwid21pZHR5cCI6MSwid21rZXl2ZXIiOjMsIndtdG1pZHZlciI6NCwid21pZGxlbiI6NTEyLCJ3bW9waWQiOjMyLCJ3bWlkIjoiZThjYWZiYTEtMWE5NS00NDhhLWIwOTYtNmIxZWVjYjQ4YTMzIiwiZmlsdGVyIjoiKHR5cGU9PVwidmlkZW9cIiYmRGlzcGxheUhlaWdodDw9NDgwKXx8KHR5cGU9PVwiYXVkaW9cIiYmZm91ckNDIT1cImFjLTNcIil8fCh0eXBlIT1cInZpZGVvXCImJnR5cGUhPVwiYXVkaW9cIikiLCJwYXR0ZXJuIjoiMTZmYTRkYjQyZjRiZmU0NGJkZTk5NGZiNzU2OTc2Y2EtNDBhMTQxMjE3MjA5OGFmYjI4YTQtMSJ9.UvvBUHlgzLQ0vDUIsbLF9LAhCsMKIYcGQLySlM_V-ss" -H "Origin: https://sooka.my" --key 185afcc5f88a5169b7edec186ada0cca:1a222626a4d6df4b270f983b773a5238 --use-shaka-packager -M format=mkv
    Image Attached Thumbnails Click image for larger version

Name:	Screenshot_785.jpg
Views:	44
Size:	61.2 KB
ID:	90556  

    Quote Quote  
  3. The extension method you provided worked perfectly. I was finally able to fetch the keys and decrypt the streams. Thank You
    Quote Quote  
  4. Originally Posted by BigDaddyAman View Post
    Hi everyone,

    I'm looking for help with a license request for a on Sooka.my. My script keeps getting an "Invalid license challenge" error.

    Video Link: https://sooka.my/watch/movie/1fc22f92-207c-4ff1-906c-3a33ceb31f84 (Note: This is a free-to-watch with a free account. Geo-restricted to Malaysia.)

    The Error: {"code":170101,"message":"Invalid license challenge."}

    Code:
     License URL: https://license.ctrp.astro.com.my/licenseServer/widevine/v1/astro/license?contentId=16fa4db42f4bfe44bde994fb756976ca-40a1412172098afb28a4-1
    
    PSSH: AAAAMnBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABISEBha/MX4ilFpt+3sGGraDMo=
    My Headers and Payload: I am using a private L3 WVD and Python requests. I've matched the X-Media-Id and Authorization headers from my browser's network tab.

    Code:
     Payload: { "contentID": "16fa4db42f4bfe44bde994fb756976ca-40a1412172098afb28a4-1", "contentType": 1, "authorizationToken": "eyJhbG...[REDACTED]", "authorizationTokenType": "1", "licenseChallenge": "[BASE64_CHALLENGE]", "playbackSessionCookie": null }
    I am sending the JSON payload using Python requests with separators=(',', ':') to ensure there is no extra whitespace. My X-Media-Id and Authorization headers match the browser's network logs exactly.

    Any help would be appreciated!

    Same here — @$tro whitelisting Chrome's built-in CDM only (i tested 5 different .wvd files, all rejected). WidevineProxy2 in real Chrome works as a workaround: hooks the EME stack, captures keys after Chrome's whitelisted CDM finishes the license dance, then feed keys + manifest + Bearer JWT into N_m3u8DL-RE.

    The catch: it requires manually playing each video in Chrome. Painful for batch (53-episode season = 53 manual playbacks).

    Anyone got tips for automating this? Stuff i tried that didn't work:

    Playwright bundled Chromium → $ooka detects navigator.webdriver, silently redirects watch URLs to show landing
    Stealth flags (--disable-blink-features=AutomationControlled, override navigator.webdriver) → still fires [2006] error
    Copying Chrome's WidevineCdm/ into Playwright Chromium → CDM loads but player still fails at init
    Playwright channel="chrome" → extension loading unsupported
    Currently falling back to a script that automates everything around the Chrome step, but the manual play per episode is still the bottleneck. Any pointers appreciated.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!