this is a free to watch episode that i want to download protected by widevine, it needs a login (can be done using gmail or facebook) and indian vpn,
i get this error:Code:https://www.sonyliv.com/shows/gullak-1700000659/tehri-1000008972?watch=true
headers in headers.py are:Code:python3 l3.py pssh AAAAV3Bzc2gBAAAA7e+LqXnWSs6jyCfc1R0h7QAAAAGmFkdXdZ5NV7bF9wH1yQAAAAAAIwgBEhCmFkdXdZ5NV7bF9wH1yQAAGgppbnRlcnRydXN0IgEq lic url:https://wv.service.expressplay.com/hms/wv/rights/?ExpressPlayToken=BwA2T1gfKcIAJDFhZWU2MmNiLTA2YzQtNDFmZC1iZjdkLWRhZDg2NWFlNWNmYwAAAICJVXfPzrWn0XZZmQasOPQg3q0dvP0PhDhB1qLvsCzMo_1AvUb2_ayTtqLaCNHc3A4eA7eCaFPmlwCM9Dff8oaKQxrGbzrAtVsa8m4BgiWsLNg6LWraX_CVegXADceZoM8nuzDCgA8kibq-VMYd__lphBc-y2Io9riCr30-Ij5XOBWCNdca7cSOv9-lBneMbmuhn6WW unable to parse, unsupported init data format unable to parse init data session ID does not exist
Code:headers = { 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/118.0', 'Accept': 'application/json, text/plain, */*', 'Accept-Language': 'en-US,en;q=0.5', # 'Accept-Encoding': 'gzip, deflate, br', 'Content-Type': 'application/json', 'Referer': 'https://www.sonyliv.com/', 'x-via-device': 'true', 'security_token': '', 'app_version': '3.5.28', 'device_id': '', 'td_client_hints': '{"}', 'session_id': ' ', 'Origin': 'https://www.sonyliv.com', 'Sec-Fetch-Dest': 'empty', 'Sec-Fetch-Mode': 'cors', 'Sec-Fetch-Site': 'same-site', 'Authorization': '', 'Connection': 'keep-alive', }
+ Reply to Thread
Results 1 to 16 of 16
-
-
it needs an indian vpn, and it is quite averse to adblockers, the screen would turn black so please disable adblockers if you have any.
-
placed blank headers in headers.py,
Code:headers = { }
-
can you please tell me how to get sonyliv drm protected videos license url ?
-
-
Hi,
Although its has been 1 year since you posted this comment about downloading from Sonyliv but good news is that if your PSSH of the video is correct then there is a way to download from Sonyliv- what I've just found today in another thread. I'm also trying downloading from Sonyliv but I've stuck at the stage of getting PSSH since Sonyliv doesn't allow to download .mpd file in xml format neither disclose any tracking of PSSH. Would you please kindly share how you got your PSSH from Sonyliv correspondent to that video? It will be really helpful for me and also a great relief. -
Hi [ss]vegeta,
Thanks for the response and sorry for being a little late to reply. I've tried TamperMonkey extension with GreasyFork EME logger for both Chrome and Firefox but there doesn't appear any MediaKeySession::generateRequest section neither any init data info at the log.But if I try Zee5 (for example) site instead of Sonyliv then init data with PSSH nicely appears there in the EME logger screen which indicates me Sonlyliv has some implicitness to disclose info which could have facilitated us to work with CDM. Any clue how to get PSSH in the cases for Sonyliv?
I'm trying to download a video from Sonyliv (NOT subscribed video at all but its a geo-blocked site which unblocks with vpn connected to indian server only) with the link as follows:
Code:https://www.sonyliv.com/shows/pushpa-impossible-1700000921/viren-s-goon-grows-wary-1000296002?watch=true
Another interesting fact is that while in the quest of request url there is no link in the network tab filtered with "method : POST" has Response feeds with binary data. Which hardens the task of identifying request url in the case of Sonyliv.
I've already tried hellyes3.py by A_n_g_e_l_a, wvgnext, widefrog tools from this forum but nothing worked for me on Sonyliv.
I wonder if Sonyliv's drm scheme uses widevine or PlayReady/FairPlay!
Any idea what should be the CDM workarounds for the cases of Sonyliv?
Any suggestion or direction will be highly appreciated with gratitude. -
The video is not DRM protected, therefore it doesn't have PSSH.
However, they seem to have some mechanisms that block you from accessing the MPD, but there must be some trickery to be done, which I don't have the time to figure out now. But someone else will.
You can get the mpd by converting the base64 response to file, and perhaps it can be downloaded locally with setting a --base-url with n_m3u8?
VideoDownloadHelper seems to have downloaded the video. Perhaps IDM can do it too?
[Attachment 83401 - Click to enlarge] -
try this extension for chromium based browsers - https://chromewebstore.google.com/detail/mpd-detector/lpoohbdbmggiknlpcmhhdkpaclfcdapk
i have it installed for brave browser and it works pretty good. -
Hi [ss]vegeta,
Thanks a lot for your valuable response.
You hinted me the correct direction what I was looking for! Yes, the video isn't DRM-protected what I wasn't able to figure out before you pointed out flawlessly- that's why there wasn't any PSSH or License URL findable in the network info list.
Actually, I was looking for downloading .mpd page file in xml format to figure out PSSH in <cnec: PSSH> section inside it but downloading .mpd page file by copy-pasting .mpd link to browser's address bar followed by hitting ENTER is restricted by the site and also the site doesn't show any init data along with PSSH inside the EME Logger console since he video isn't DRM-protected as you pointed out.
You can get the mpd by converting the base64 response to file, and perhaps it can be downloaded locally with setting a --base-url with n_m3u8?
Code:-H "x-playback-session-id: 008741a4828d408db94dbc6c80a0d036-1730776261049"
VideoDownloadHelper seems to have downloaded the video. Perhaps IDM can do it too?
Code:The server replies that you don't have permissions to download this file. HTTP/1.1 403 Access Denied.
But Finally, VideoDownloadHelper extension as per your hint leads me to download the video successfully.
Thanks a Lot dear Veteran.
You really rescued me today.Last edited by Tangent; 8th Nov 2024 at 05:25.
Similar Threads
-
need decryption keys for this
By swappyison in forum Video Streaming DownloadingReplies: 6Last Post: 15th Jul 2024, 14:30 -
Decryption: The Last Crusade
By A_n_g_e_l_a in forum Video Streaming DownloadingReplies: 57Last Post: 23rd May 2024, 10:07 -
need help with decryption
By swappyison in forum Video Streaming DownloadingReplies: 10Last Post: 25th Oct 2023, 09:35 -
need help with decryption
By swappyison in forum Video Streaming DownloadingReplies: 19Last Post: 15th Sep 2023, 03:01 -
Need help with l3.py decryption
By cheapdad in forum Video Streaming DownloadingReplies: 4Last Post: 3rd Sep 2023, 14:54