VideoHelp Forum



Support our site by donate $5 directly to us Thanks!!!

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



+ Reply to Thread
Results 1 to 18 of 18
  1. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    It is a little slow but it works to find keys if you provide the pssh and licence.

    God knows how long it will remain live. It has nothing to do with me so don't ask.

    Written in python.

    Code:
    import base64
    import json
    import requests
    
    LICENCE_URL = input("Licence? ")
    PSSH = input('PSSH? ')
    
    # test examples
    #LICENCE_URL = "https://cwip-shaka-proxy.appspot.com/no_auth"
    #PSSH = "AAAAp3Bzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAIcSEFF0U4YtQlb9i61PWEIgBNcSEPCTfpp3yFXwptQ4ZMXZ82USEE1LDKJawVjwucGYPFF+4rUSEJAqBRprNlaurBkm/A9dkjISECZHD0KW1F0Eqbq7RC4WmAAaDXdpZGV2aW5lX3Rlc3QiFnNoYWthX2NlYzViZmY1ZGM0MGRkYzlI49yVmwY="
    
    API_URL = "https://scale-uh-recreational-editors.trycloudflare.com/chromeapi"
    CERT = None
    
    r = requests.post(API_URL, json={"method": "GetChallenge", "params": {"cert": CERT, "device": "", "init": PSSH, "licensetype": "STREAMING", "raw": False}, "token": "JoinTG@ChromeAPI"})
    
    if not r.ok:
        print(f"Failed to get challenge: [{r.status_code}] {r.text}")
        exit(1)
    
    challenge = r.json()['message']["challenge"]
    session_id = r.json()['message']["session_id"]
    
    r2 = requests.post(LICENCE_URL, data=base64.b64decode(challenge))
    if not r2.ok:
        print(f"Failed to get license: [{r2.status_code}] {r2.text}")
        exit(1)
    
    license_b64 = base64.b64encode(r2.content).decode()
    
    r3 = requests.post(API_URL, json={"method": "GetKeys", "params": {"cdmkeyresponse": license_b64, "session_id": session_id}, "token": "JoinTG@ChromeAPI"})
    
    if not r3.ok:
        print(f"Failed to get keys: [{r3.status_code}] {r3.text}")
        exit(1)
    myjson = json.dumps(r3.json())
    mykeys = json.loads(myjson) # dict message -> dict keys -> list of dicts
    keys = mykeys['message']['keys']
    print('Keys found')
    for key in keys:
        print(f"--key {key['kid']}:{key['key']}", end = ' ')
    print('\nDone')
    Absolutely no support!
    Last edited by A_n_g_e_l_a; 17th Jul 2023 at 06:55.
    Quote Quote  
  2. It's from one of those telegram sellers who sets up a free API once in a while to lure in new customers.

    The best thing to do is to set up a key vault and cache a bunch of stuff while it's live.
    Quote Quote  
  3. Member
    Join Date
    Dec 2021
    Location
    england
    Search Comp PM
    nm
    Last edited by iamghost; 19th Jul 2023 at 06:29.
    Quote Quote  
  4. Member
    Join Date
    Aug 2022
    Location
    India
    Search Comp PM
    Can we use this with wks-keys, TPD-Keys or vdocipher-dl ?
    Quote Quote  
  5. Originally Posted by Neura View Post
    Can we use this with wks-keys, TPD-Keys or vdocipher-dl ?
    WKS, TPD, etc. are just scripts based on various versions of Pywidevine, which works with local CDMs. This CromeCDM is remotely accessed through an API.

    So you can use whatever script you want, as long as you access the API correctly.
    Quote Quote  
  6. I didn't test it yet, but it looks like you won't have to use ANY other script... It should work as it is. As said: With a remote CDM.
    Quote Quote  
  7. psaframe
    Join Date
    Mar 2021
    Location
    Algeria
    Search PM
    work perfectly. thanks man!
    Quote Quote  
  8. Member
    Join Date
    Aug 2022
    Location
    India
    Search Comp PM
    how to add headers?
    Quote Quote  
  9. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    R.i.p.
    Quote Quote  
  10. psaframe
    Join Date
    Mar 2021
    Location
    Algeria
    Search PM
    now api is dead because some dirty scammers who trying
    to scam others buy selling them free api.
    Quote Quote  
  11. Search, Learn, Download! Karoolus's Avatar
    Join Date
    Oct 2022
    Location
    Belgium
    Search Comp PM
    Originally Posted by naim2007 View Post
    now api is dead because some dirty scammers who trying
    to scam others buy selling them free api.
    Why am I not surprised.. Some people are just out to make a quick buck, that's all.
    Quote Quote  
  12. So, let's see if I got this right...

    Some guys get a hold of a legit ChromeCDM and decides to build and sell an entire piece of software around it(Streamfab).
    Another guy reverse engineers the Streamfab API and decides to sell access to that API.
    A third guy buys access to that API and decides to sell access through another API.
    A fourth guy uses a "free trial" period to sell access to the third guys' API.

    Just a bunch of cockroaches eating each other at this point.
    Quote Quote  
  13. Originally Posted by stabbedbybrick View Post
    So, let's see if I got this right...

    Some guys get a hold of a legit ChromeCDM and decides to build and sell an entire piece of software around it(Streamfab).
    Another guy reverse engineers the Streamfab API and decides to sell access to that API.
    A third guy buys access to that API and decides to sell access through another API.
    A fourth guy uses a "free trial" period to sell access to the third guys' API.

    Just a bunch of cockroaches eating each other at this point.
    Yup, you are correct on that statement
    Quote Quote  
  14. Member
    Join Date
    Aug 2022
    Location
    India
    Search Comp PM
    Any working api available?
    Quote Quote  
  15. Originally Posted by Neura View Post
    Any working api available?
    sure, PM me and I can send you to someone that has a good solid CDM API with PY script.
    Quote Quote  
  16. Originally Posted by stabbedbybrick View Post
    So, let's see if I got this right...

    Some guys get a hold of a legit ChromeCDM and decides to build and sell an entire piece of software around it(Streamfab).
    Another guy reverse engineers the Streamfab API and decides to sell access to that API.
    A third guy buys access to that API and decides to sell access through another API.
    A fourth guy uses a "free trial" period to sell access to the third guys' API.

    Just a bunch of cockroaches eating each other at this point.


    What a wonderful world!
    Quote Quote  
  17. Member
    Join Date
    Aug 2022
    Location
    India
    Search Comp PM
    Any one working cdm api for app vdocipher?
    Pm me
    Telegram:- https://t.me/mr_nikz
    Quote Quote  
  18. Member
    Join Date
    Dec 2021
    Location
    england
    Search Comp PM
    Originally Posted by Neura View Post
    Any one working cdm api for app vdocipher?
    Pm me
    Telegram:- https://t.me/mr_nikz
    Image
    [Attachment 75744 - Click to enlarge]

    Image
    [Attachment 75745 - Click to enlarge]

    nobody will not share cdm api
    Quote Quote  



Similar Threads

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