VideoHelp Forum




+ Reply to Thread
Results 1 to 12 of 12
  1. Hello, could you help me obtain the PSSH, as it is not present in the Manifest.ism file?
    API address and all data: https://epika.lrt.lt/api/products/683159/videos/playlist?videoType=MOVIE&platform=BROW...tenantUid=Lh8t

    Headers and cookies if needed:

    HTML Code:
    import requests
    
    cookies = {
        'uid': 'f6f1219990ee9afb06d176865553efe9',
        'eupubconsent-v2': 'CQM66kAQM66kAF_AAAENBdFsAP_gAH_gAB5YK1tX_H__bX9r-X73aft0eY1P9_j77uQxBhfJs-4FzLvW_JwXx2E7NE36tqYKmRIEu3bBIQNlHJHUTVigaogVrzHsak2cpTNKJ6BkiHMRO2dYCF5vm4tj-QKY5_r_93dx2D-t_dv-3dzyz81nn3f5_-f1eLCdQ5_tDfv9bROb-9IP9_78v4v8_t_rk2_eT1n_9evr7H_-ft9__XW_9_fff_9Pn_-uF_-_3_vf_H37v4K0gFmGreQB9iWGjFoOlUKIFYVhAZQKAgAgWBoioATBgU7IwCXWEzAECagIYIgQIAoyYBAAABAAhEAEgBYIAEIRAoAAwAoRkIACBgAFABYGAQAAgOgYphQQKJYQJHZVcpgQlQLRAS2ViCQF0hrhCFWeAVAIiYKIBEAQIrAQEBYvI4skBKxYIEuoNogAGCBAKLUKlBJ6aABozNlqDwZNoytMA0fOEqGmAZAEQRkJBoQgAAAA.YAAAAAAAAAAA',
        'cache_bookmark_favourite': '019a7042-c231-4e9a-90af-1c4bc87b7025-4100392',
        'cache_bookmark_watched': '019a7042-c231-4e9a-90af-1c4bc87b7025-4100392',
        'cache_bookmark_search': '019a7042-c231-4e9a-90af-1c4bc87b7025-4100392',
        'sso_remember_me': '611908d4323ac22d40f6cde3340a82c4',
        'session_uid': '1217a3d5-333e-4024-93e2-370bbcddb110',
        'AWSALB': 'Q/eyW18o8Cih9HzpiRUaoMGjvvIhXoxCEzUGVTyvMptaQmOWLF7Uy0grNOoHmK0BqDY5fXlj8NRQkIiYBUuX3HzQ4lEvrnY5g56VBXzfRli8scp+Jq2ros8Kg5n3',
        'AWSALBCORS': 'Q/eyW18o8Cih9HzpiRUaoMGjvvIhXoxCEzUGVTyvMptaQmOWLF7Uy0grNOoHmK0BqDY5fXlj8NRQkIiYBUuX3HzQ4lEvrnY5g56VBXzfRli8scp+Jq2ros8Kg5n3',
    }
    
    headers = {
        'accept': '*/*',
        'accept-language': 'lt;q=0.9',
        'api-correlationid': 'client_921bcce1-8779-4bf5-8f2d-73ff3714f02c',
        'origin': 'https://epika.lrt.lt',
        'priority': 'u=1, i',
        'referer': 'https://epika.lrt.lt/vaidybiniai-serialai,304/troliu-ferma-odcinki,683166/odcinek-1,S01E01,683159',
        'sec-ch-ua': '"Not(A:Brand";v="99", "Brave";v="133", "Chromium";v="133"',
        'sec-ch-ua-mobile': '?0',
        'sec-ch-ua-platform': '"Windows"',
        'sec-fetch-dest': 'empty',
        'sec-fetch-mode': 'cors',
        'sec-fetch-site': 'same-origin',
        'sec-gpc': '1',
        'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36',
        # 'cookie': 'uid=f6f1219990ee9afb06d176865553efe9; eupubconsent-v2=CQM66kAQM66kAF_AAAENBdFsAP_gAH_gAB5YK1tX_H__bX9r-X73aft0eY1P9_j77uQxBhfJs-4FzLvW_JwXx2E7NE36tqYKmRIEu3bBIQNlHJHUTVigaogVrzHsak2cpTNKJ6BkiHMRO2dYCF5vm4tj-QKY5_r_93dx2D-t_dv-3dzyz81nn3f5_-f1eLCdQ5_tDfv9bROb-9IP9_78v4v8_t_rk2_eT1n_9evr7H_-ft9__XW_9_fff_9Pn_-uF_-_3_vf_H37v4K0gFmGreQB9iWGjFoOlUKIFYVhAZQKAgAgWBoioATBgU7IwCXWEzAECagIYIgQIAoyYBAAABAAhEAEgBYIAEIRAoAAwAoRkIACBgAFABYGAQAAgOgYphQQKJYQJHZVcpgQlQLRAS2ViCQF0hrhCFWeAVAIiYKIBEAQIrAQEBYvI4skBKxYIEuoNogAGCBAKLUKlBJ6aABozNlqDwZNoytMA0fOEqGmAZAEQRkJBoQgAAAA.YAAAAAAAAAAA; cache_bookmark_favourite=019a7042-c231-4e9a-90af-1c4bc87b7025-4100392; cache_bookmark_watched=019a7042-c231-4e9a-90af-1c4bc87b7025-4100392; cache_bookmark_search=019a7042-c231-4e9a-90af-1c4bc87b7025-4100392; sso_remember_me=611908d4323ac22d40f6cde3340a82c4; session_uid=1217a3d5-333e-4024-93e2-370bbcddb110; AWSALB=Q/eyW18o8Cih9HzpiRUaoMGjvvIhXoxCEzUGVTyvMptaQmOWLF7Uy0grNOoHmK0BqDY5fXlj8NRQkIiYBUuX3HzQ4lEvrnY5g56VBXzfRli8scp+Jq2ros8Kg5n3; AWSALBCORS=Q/eyW18o8Cih9HzpiRUaoMGjvvIhXoxCEzUGVTyvMptaQmOWLF7Uy0grNOoHmK0BqDY5fXlj8NRQkIiYBUuX3HzQ4lEvrnY5g56VBXzfRli8scp+Jq2ros8Kg5n3',
        'content-type': 'application/x-www-form-urlencoded',
    }
    
    params = {
        'platform': 'BROWSER',
        'type': 'MOVIE',
        'tenantUid': 'Lh8t',
    }
    
    data = '\b\x04'
    
    response = requests.post(
        'https://epika.lrt.lt/api/products/683159/drm/widevine',
        params=params,
        cookies=cookies,
        headers=headers,
        data=data,
    )
    Quote Quote  
  2. URL is in the headers - look at the Referer field.

    If the PSSH really is not in the manifest, you'll find it in the MOOV atom of the encrypted movie; see e.g. here: https://forum.videohelp.com/threads/414431-Getting-the-pssh-data-from-a-encrypted-mp4

    And: you really shouldn't post your cookie data - everyone is able to impersonate as you with that data.
    Quote Quote  
  3. pssh

    Code:
    AAAAO3Bzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABsIARIQOK0grz1WRAS0W+uvxTxvdCoFQVVESU8=
    key

    Code:
    38ad20af3d564404b45bebafc53c6f74:7aec5b864093ebddb8ba7aa76c30eafc
    WidevineProxy2 works for your site

    https://forum.videohelp.com/threads/416316-%5BRelease%5D-WidevineProxy2-Extension-Bypa...s-Lic-wrapping
    Quote Quote  
  4. Originally Posted by cedric8528 View Post
    pssh

    Code:
    AAAAO3Bzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABsIARIQOK0grz1WRAS0W+uvxTxvdCoFQVVESU8=
    key

    Code:
    38ad20af3d564404b45bebafc53c6f74:7aec5b864093ebddb8ba7aa76c30eafc
    WidevineProxy2 works for your site

    https://forum.videohelp.com/threads/416316-%5BRelease%5D-WidevineProxy2-Extension-Bypa...s-Lic-wrapping
    Thanks, but I'm planning to use a python script, so I don't think this would work for me.
    Quote Quote  
  5. Feels Good Man 2nHxWW6GkN1l916N3ayz8HQoi's Avatar
    Join Date
    Jan 2024
    Location
    Pepe Island
    Search Comp PM
    Originally Posted by Superfil View Post
    Thanks, but I'm planning to use a python script, so I don't think this would work for me.
    You can convert Playready pssh to widevine pssh. But before even trying this, can you do the manual license call for this converted pssh?
    Code:
    AAAANHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABQIARIQryCtOFY9BES0W+uvxTxvdA==
    --[----->+<]>.++++++++++++.---.--------.
    [*drm mass downloader: widefrog*]~~~~~~~~~~~[*how to make your own mass downloader: guide*]
    Quote Quote  
  6. Originally Posted by 2nHxWW6GkN1l916N3ayz8HQoi View Post
    Originally Posted by Superfil View Post
    Thanks, but I'm planning to use a python script, so I don't think this would work for me.
    You can convert Playready pssh to widevine pssh. But before even trying this, can you do the manual license call for this converted pssh?
    Code:
    AAAANHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABQIARIQryCtOFY9BES0W+uvxTxvdA==
    You know, I'm not sure anymore—I just want to create a script to download videos from this website. However, it doesn’t have a standard MPD file that contains a PSSH, so I need advice on how I could obtain it. I also think conversion might be necessary, but do you know the correct way to do it?
    Quote Quote  
  7. As I've said in #3 the first segment of the encrypted download contains the PSSH, and it's probably easier to read it out from there than to convert the PR PSSH, if you want to download the file anyway...
    Quote Quote  
  8. Originally Posted by Obo View Post
    As I've said in #3 the first segment of the encrypted download contains the PSSH, and it's probably easier to read it out from there than to convert the PR PSSH, if you want to download the file anyway...
    Can you provide me with a code example of how I should do this in Python?
    Quote Quote  
  9. Just follow the link I posted in #3...
    Quote Quote  
  10. several method if you must use a script:

    1. you can find KID in dash url, convert KID to widevine PSSH
    2. you can find pr PSSH from dash url or ss url, convert pr PSSH to widevine PSSH
    3. the most easy way is just use pr to obtain keys, since pr is public.
    Quote Quote  



Similar Threads

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