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, )
+ Reply to Thread
Results 1 to 12 of 12
-
-
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. -
but the content is only visible when logged in https://epika.lrt.lt/vaidybiniai-serialai,304/troliu-ferma-odcinki,683166/odcinek-1,S01E01,683159
-
pssh
Code:AAAAO3Bzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABsIARIQOK0grz1WRAS0W+uvxTxvdCoFQVVESU8=
Code:38ad20af3d564404b45bebafc53c6f74:7aec5b864093ebddb8ba7aa76c30eafc
https://forum.videohelp.com/threads/416316-%5BRelease%5D-WidevineProxy2-Extension-Bypa...s-Lic-wrapping -
-
--[----->+<]>.++++++++++++.---.--------.
[*drm mass downloader: widefrog*]~~~~~~~~~~~[*how to make your own mass downloader: guide*] -
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?
-
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...
-
-
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.
Similar Threads
-
Get PSSH from ism manifest with ProtectionHeader
By jack_666 in forum Video Streaming DownloadingReplies: 81Last Post: 15th Nov 2024, 13:40 -
How can I generate pssh if no kid in manifest?
By Musito in forum Video Streaming DownloadingReplies: 11Last Post: 7th Feb 2024, 13:27 -
Different PSSH in mpd, EME logger and PSSH Box Generator
By Kevste in forum Video Streaming DownloadingReplies: 4Last Post: 31st May 2023, 23:24 -
Finding Manifest/PSSH on certain sites?
By Reclusive Eagle in forum Video Streaming DownloadingReplies: 0Last Post: 29th May 2023, 13:58 -
How to download ism manifest ???
By alexiscrew in forum Video Streaming DownloadingReplies: 1Last Post: 29th Apr 2021, 04:38