VideoHelp Forum




+ Reply to Thread
Results 1 to 7 of 7
  1. Member
    Join Date
    Apr 2024
    Location
    England
    Search Comp PM
    Hi, I am pretty new and inexperienced in downloading video streams and encryption, but I was wondering if someone would be able to help me download some episodes from Zee5 in 1080p HD, it would be highly appreciated. I did try to download using yt-dlp but it would only allow me to download in 720p and due to lack of knowledge I'm unsure how else to go about it.

    Here are the links:
    1) https://www.zee5.com/global/tv-shows/details/kaise-mujhe-tum-mil-gaye/0-6-4z5461626/bh.../0-1-6z5527895
    2) https://www.zee5.com/global/tv-shows/details/kaise-mujhe-tum-mil-gaye/0-6-4z5461626/vi.../0-1-6z5480404

    Thanks in advance!
    Quote Quote  
  2. Feels Good Man 2nHxWW6GkN1l916N3ayz8HQoi's Avatar
    Join Date
    Jan 2024
    Location
    Pepe Island
    Search Comp PM
    Code:
    N_m3u8DL-RE.exe "https://zee5vod.akamaized.net/drm1/titanfile/dash/TV_SHOWS/ZEE_TV/March2024/05032024/Episode/CS_Kaise_Mujhe_Tum_Mil_Gaye_Ep97_Episode_05032024_hi_c6181b43093977a82b9b617f23a5b9e0/manifest.mpd" --key 9c09cd1a3f64384ca914bf0e3726b736:7d3fcb488fbeaf5987c0a373708e96f5 -M format=mkv
    N_m3u8DL-RE.exe "https://zee5vod.akamaized.net/drm1/elemental/dash/TV_SHOWS/ZEE_TV/December2023/13122023/Episode/BQC_CS_Kaise_Mujhe_Tum_Mil_Gaye_Ep17_Episode_13122023_hi_98830dcf8ed4528ed3bf972630d67481/manifest.mpd" --key 798c60cf5c344171a38b25b55c7d2e5c:8678d64a824abc92faf3aad3174954bd -M format=mkv
    --[----->+<]>.++++++++++++.---.--------.
    [*drm mass downloader: widefrog*]~~~~~~~~~~~[*how to make your own mass downloader: guide*]
    Quote Quote  
  3. Member
    Join Date
    Apr 2024
    Location
    England
    Search Comp PM
    Originally Posted by 2nHxWW6GkN1l916N3ayz8HQoi View Post
    Code:
    N_m3u8DL-RE.exe "https://zee5vod.akamaized.net/drm1/titanfile/dash/TV_SHOWS/ZEE_TV/March2024/05032024/Episode/CS_Kaise_Mujhe_Tum_Mil_Gaye_Ep97_Episode_05032024_hi_c6181b43093977a82b9b617f23a5b9e0/manifest.mpd" --key 9c09cd1a3f64384ca914bf0e3726b736:7d3fcb488fbeaf5987c0a373708e96f5 -M format=mkv
    N_m3u8DL-RE.exe "https://zee5vod.akamaized.net/drm1/elemental/dash/TV_SHOWS/ZEE_TV/December2023/13122023/Episode/BQC_CS_Kaise_Mujhe_Tum_Mil_Gaye_Ep17_Episode_13122023_hi_98830dcf8ed4528ed3bf972630d67481/manifest.mpd" --key 798c60cf5c344171a38b25b55c7d2e5c:8678d64a824abc92faf3aad3174954bd -M format=mkv
    Thank you so much. I did some research on the forum and managed to download nm3u8 & mp4decrypt so that I could download the videos using your code and it worked perfectly well! I also managed to figure out how to find the first half of the key but was unable to figure out how to get the second half (after would you please be able to guide me on how to obtain that? I wanted to download a few more episodes from this show as well so I'm trying to figure out the basics
    Quote Quote  
  4. Member aqzs's Avatar
    Join Date
    Mar 2024
    Location
    Paris
    Search Comp PM
    Originally Posted by Bijalx View Post
    I also managed to figure out how to find the first half of the key but was unable to figure out how to get the second half (after would you please be able to guide me on how to obtain that? I wanted to download a few more episodes from this show as well so I'm trying to figure out the basics
    The first part of the key is known as "kid", it's a reference to the content that will be decrypted with the last part of the key. To obtain the full key you need the pssh and the licence server.
    Quote Quote  
  5. Member aqzs's Avatar
    Join Date
    Mar 2024
    Location
    Paris
    Search Comp PM
    Originally Posted by Bijalx View Post
    I wanted to download a few more episodes from this show as well so I'm trying to figure out the basics
    I was making a script for it but I noticed that @2nHxWW6GkN1l916N3ayz8HQoi had already built it. Here is a link to it : https://forum.videohelp.com/threads/413951-Help-Downloading-This-Video-Content-From-Zee5#post2729535
    Quote Quote  
  6. Member
    Join Date
    Apr 2024
    Location
    England
    Search Comp PM
    Originally Posted by aqzs View Post
    Originally Posted by Bijalx View Post
    I also managed to figure out how to find the first half of the key but was unable to figure out how to get the second half (after would you please be able to guide me on how to obtain that? I wanted to download a few more episodes from this show as well so I'm trying to figure out the basics
    The first part of the key is known as "kid", it's a reference to the content that will be decrypted with the last part of the key. To obtain the full key you need the pssh and the licence server.
    Ooh okay so for example if I was to try download this episode: https://www.zee5.com/global/tv-shows/details/kaise-mujhe-tum-mil-gaye/0-6-4z5461626/am.../0-1-6z5480401

    I managed to find the kid (63f7035e746148afa1e51870f41a3ea3) & pssh <cencssh>AAAAYXBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAEEIAR IQY/cDXnRhSK+h5Rhw9Bo+oxoFbmFncmEiJGQwMjFjZjZiLWE5NTAt NGQxNy05ZjJjLTBlODRjYmM5NDVkMg==</cencssh> from the mpd file, how do I find the licence server? I did see the other thread you mentioned too but I've never really done any sort of coding before, only used yt-dlp for basic streams so I am pretty clueless on how to do this or use scripts.
    Quote Quote  
  7. Member aqzs's Avatar
    Join Date
    Mar 2024
    Location
    Paris
    Search Comp PM
    Originally Posted by Bijalx View Post
    how do I find the licence server?
    You usually search for keywords like 'widevine' 'wide' 'licence' 'lice' 'key'. For zee5 it's
    Code:
    https://spapi.zee5.com/widevine/getLicense
    Then you can use a script like this one :
    Code:
    from pywidevine.cdm import Cdm
    from pywidevine.device import Device
    from pywidevine.pssh import PSSH
    import requests
    
    headers = {
        'customdata': 'SEARCHFORIT',
        'nl': 'SEARCHFORIT',
    }
    
    pssh = input("PSSH? ")
    pssh = PSSH(pssh)
    lic_url = input("License URL? ")
    
    device = Device.load(r"FILE.wvd")
    cdm = Cdm.from_device(device)
    session_id = cdm.open()
    challenge = cdm.get_license_challenge(session_id, pssh)
    licence = requests.post(lic_url, headers = headers, data=challenge)
    licence.raise_for_status()
    cdm.parse_license(session_id, licence.content)
    for key in cdm.get_keys(session_id):
        if key.type=='CONTENT':
            print(f"\n--key {key.kid.hex}:{key.key.hex()}")
    cdm.close(session_id)
    You have the set the header and the .wvd file too
    Quote Quote  



Similar Threads

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