VideoHelp Forum




+ Reply to Thread
Results 1 to 16 of 16
  1. 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,
    Code:
    https://www.sonyliv.com/shows/gullak-1700000659/tehri-1000008972?watch=true
    i get this error:
    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
    headers in headers.py are:
    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',
        
    }
    Quote Quote  
  2. Search, Learn, Download! Karoolus's Avatar
    Join Date
    Oct 2022
    Location
    Belgium
    Search Comp PM
    This website does not want me to login, it seems
    Quote Quote  
  3. 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.
    Quote Quote  
  4. Search, Learn, Download! Karoolus's Avatar
    Join Date
    Oct 2022
    Location
    Belgium
    Search Comp PM
    Code:
    a6164757759e4d57b6c5f701f5c90000:eb89744e6d6347c48582569204df81df
    No headers, no payload, just enter PSSH and license URL
    Quote Quote  
  5. placed blank headers in headers.py,
    Code:
    headers = {
        
    }
    still getting the same error
    Quote Quote  
  6. Search, Learn, Download! Karoolus's Avatar
    Join Date
    Oct 2022
    Location
    Belgium
    Search Comp PM
    I'm getting an error when using python, but when using my app it works.
    Weird, I'll leave that to someone who knows Python though.
    Quote Quote  
  7. Member
    Join Date
    Sep 2024
    Location
    Bangladesh
    Search Comp PM
    can you please tell me how to get sonyliv drm protected videos license url ?
    Quote Quote  
  8. Banned
    Join Date
    Apr 2022
    Location
    Hong Kong
    Search Comp PM
    Indian IPs are not mandatory, I have tested it with Hong Kong IPs.

    Originally Posted by siamahmed15 View Post
    can you please tell me how to get sonyliv drm protected videos license url ?
    Search in the dev tools.
    Quote Quote  
  9. Originally Posted by swappyison View Post
    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,
    Code:
    https://www.sonyliv.com/shows/gullak-1700000659/tehri-1000008972?watch=true
    i get this error:
    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
    headers in headers.py are:
    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',
        
    }
    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.
    Quote Quote  
  10. Originally Posted by Tangent View Post
    Would you please kindly share how you got your PSSH from Sonyliv correspondent to that video?
    Are you familiar with EME logger? How about reading the sticky keys and getting some of the extension that can do this for you automatically?
    click click2
    If I/my posts ever helped you, and you want to give back, send me a private message!
    Quote Quote  
  11. Originally Posted by [ss]vegeta View Post
    Originally Posted by Tangent View Post
    Would you please kindly share how you got your PSSH from Sonyliv correspondent to that video?
    Are you familiar with EME logger? How about reading the sticky keys and getting some of the extension that can do this for you automatically?
    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
    But in my case of video I also can't trace any ExpressPlayToken which is clearly mentioned in a forum thread about Sonyliv downloads with link goes as follows: https://forum.videohelp.com/threads/414946-Need-help-with-sonyliv-please

    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.
    Quote Quote  
  12. Originally Posted by Tangent View Post
    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?

    Image
    [Attachment 83401 - Click to enlarge]
    Last edited by [ss]vegeta; 8th Nov 2024 at 01:04.
    click click2
    If I/my posts ever helped you, and you want to give back, send me a private message!
    Quote Quote  
  13. Member
    Join Date
    Feb 2006
    Location
    United States
    Search Comp PM
    Originally Posted by [ss]vegeta View Post
    Originally Posted by Tangent View Post
    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?

    Image
    [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.
    Quote Quote  
  14. Originally Posted by october262 View Post
    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.
    Thanks
    click click2
    If I/my posts ever helped you, and you want to give back, send me a private message!
    Quote Quote  
  15. Originally Posted by [ss]vegeta View Post
    Originally Posted by Tangent View Post
    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?

    Image
    [Attachment 83401 - Click to enlarge]
    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?
    Actually- Prior to my 1st comment here, I was able to download the media files in mp4 and m4a formats by N_m3u8dl-RE using mpd link just by simply adding an extra part to the N_m3u8dl-RE download command (as per revelation from another Sonyliv discussion thread of this forum) as follows:

    Code:
     -H "x-playback-session-id: 008741a4828d408db94dbc6c80a0d036-1730776261049"
    But due to my incomplete and partial ideas from earlier operations on DRM-protected videos, Since I didn't know that it wasn't any DRM-protected video therefore I thought those downloaded pair of mp4 and m4a files were encrypted and thus not playable on media players until I reach to get decryption keys (using PSSH and License URL) for decrypting those pair. That's why I didn't even try play to those downloaded media files for a single time to reveal that those original mp4 and m4a files are actually well-playable in media players what I finally rechecked and identified a little bit ago.

    VideoDownloadHelper seems to have downloaded the video. Perhaps IDM can do it too?
    Earlier before posting here, I tried to download the video by IDM (since IDM download links appear) for several times but IDM failed to download each time by quoting this:

    Code:
    The server replies that you don't have permissions to download this file. 
    HTTP/1.1 403 Access Denied.
    Which confusingly misled me to guess that the video might be DRM-protected.
    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.
    Quote Quote  
  16. Glad to be of help.
    click click2
    If I/my posts ever helped you, and you want to give back, send me a private message!
    Quote Quote  



Similar Threads

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