VideoHelp Forum


Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!


Try StreamFab Downloader and download streaming video from Youtube, Netflix, Amazon! Download free trial.


+ Reply to Thread
Results 1 to 18 of 18
Thread
  1. Hello,
    I have a new link here where I want to download something:
    https://plus.rtl.de/video-tv/shows/die-ultimative-chart-show-785220/staffel-28-907246/...ive-chart-show

    Unfortunately, it doesn't work with yt-dlp:
    Code:
    yt-dlp --allow-u -o enc.mp4 "https://px1.vtrtl.de/vt/hb.do?angebot=rtlpweb&beat=4&display=1&ivw=/developer/default&paystatus=10&rnd=535326734821026&starttype=0&status=3&videoid=907248&videoservice=plus&videourl=/p112/streaming/watch/907248/21-10000-1-1.ism/.mpd"
    WARNING: You have asked for UNPLAYABLE formats to be listed/downloaded. This is a developer option intended for debugging. 
             If you experience any issues while using this option, DO NOT open a bug report
    [generic] Extracting URL: https://px1.vtrtl.de/vt/hb.do?angebot=rtlpweb&beat=4&display=1&ivw=/developer/default&paystatus=1...1-10000-1-1.ism/.mpd
    [generic] .mpd: Downloading webpage
    WARNING: [generic] Falling back on generic information extractor
    WARNING: [generic] URL could be a direct video link, returning it as such.
    [info] .mpd: Downloading 1 format(s): 0
    [download] Destination: enc.mp4
    [download] 100% of     43.00B in 00:00:00 at 323.96B/s
    heiko@Worf:~/Die ultimative Chart Show$ ll
    insgesamt 12
    drwxrwxr-x  2 heiko heiko 4096 Sep  1 23:32 ./
    drwxr-xr-x 66 heiko heiko 4096 Sep  1 23:27 ../
    -rw-rw-r--  1 heiko heiko   43 Sep  1 23:32 enc.mp4
    The download Python script that I got here in the forum doesn't work either.

    Best regards
    Heiko
    Quote Quote  
  2. Education Student (Grad.) CrymanChen's Avatar
    Join Date
    Apr 2022
    Location
    Hong Kong
    Search Comp PM
    mpd link:
    Code:
    https://vodnowusoawsdash.secure.footprint.net/p112/streaming/watch/907248/21-10000-1-1.ism/.mpd
    And the key to decrypt the video is:
    Code:
    --key c9cf3f7ac79bb32ca2311250788cb90b:e61e3870e8c8f7af313a0eb3860818ac
    twitter @Cryman_Chen
    email crymanchen@gmail.com
    Quote Quote  
  3. Good morning,

    I looked again. Now I also find the .mpd link. Why I found something else yesterday is beyond me.

    I also found the pssh entry.
    I also found the license (https://widevine.tvnow.de/index/license). But I can't find the preAuthorization!

    https://getwvkeys.cc/ is still correct?!

    Best regards
    Heiko
    Quote Quote  
  4. Originally Posted by Data2006 View Post
    Good morning,

    I looked again. Now I also find the .mpd link. Why I found something else yesterday is beyond me.

    I also found the pssh entry.
    I also found the license (https://widevine.tvnow.de/index/license). But I can't find the preAuthorization!

    https://getwvkeys.cc/ is still correct?!

    Best regards
    Heiko
    this license server uses "X-Auth-Token" as the token header.
    its also restricted to german ip addresses so you will have to use the getwvkeys script or your own local cdm
    Quote Quote  
  5. I tried again with https://getwvkeys.cc/. Always get an error message:
    {"code":500,"error":true,"message":"The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application."}

    Where can I get the script from? Is Python?

    Best regards
    Heiko
    Quote Quote  
  6. Originally Posted by Data2006 View Post
    I tried again with https://getwvkeys.cc/. Always get an error message:
    {"code":500,"error":true,"message":"The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application."}

    Where can I get the script from? Is Python?

    Best regards
    Heiko
    Hi bro put this code in new text archive, and change by tvnow.py
    Open the python file and go

    Code:
    from pywidevine.L3.cdm import cdm, deviceconfig
    from base64 import b64encode
    from pywidevine.L3.decrypt.wvdecryptcustom import WvDecrypt
    
    m3u8DL_RE = 'N_m3u8DL-RE.exe'
    
    from pathlib import Path
    import requests
    import subprocess
    import re
    import os
    
    files_to_delete = ["key.txt"]
    for file_name in files_to_delete:
        if os.path.exists(file_name):
            os.remove(file_name)
            print(f"{file_name} file successfully deleted.")
    
    print('\ntest link: https://www.tvnow.de/shows/sing-meinen-song-das-tauschkonzert-7007/staffel-10/episode-1-stefanie-kloss-silbermond-5434807\ntest link: https://www.tvnow.de/shows/grill-den-henssler-2471/staffel-2023/episode-3-mit-christine-urspruch-the-bosshoss-pierre-m-krause-5440786\n')
    
    link = input('link: ')
    link_id = re.findall(r'-(\d+)$', link)[0].strip()
    
    headers1 = {
        'authority': 'bff.apigw.tvnow.de',
        'accept': 'application/json, text/plain, */*',
        'origin': 'https://www.tvnow.de',
        'referer': 'https://www.tvnow.de/',
        'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.42',
    }
    
    params1 = {
        'playertracking': 'true',
    }
    
    response1 = requests.get('https://bff.apigw.tvnow.de/player/'+link_id+'', params=params1, headers=headers1).json()
    
    format = response1['videoConfig']['meta']['format']
    title = response1['videoConfig']['meta']['title']
    a_title = f'{format} - {title}'
    print(f'\n{a_title}\n')
    
    dashUrl = response1['videoConfig']['sources']['dashUrl']
    print(f'{dashUrl}\n')
    
    jwt = response1['pageConfig']['user']['jwt']
    
    import requests
    
    headers2 = {
        'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9',
        'Connection': 'keep-alive',
        'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36',
    }
    
    response2 = requests.get(dashUrl, headers=headers2).text
    
    pssh = re.findall(r'<cenc:pssh>(.{20,170})</cenc:pssh>', response2)[0].strip()
    print(f'{pssh}\n')
    
    lic_url = 'https://widevine.tvnow.de/index/license'
    
    headers = {
        'origin': 'https://www.tvnow.de',
        'referer': 'https://www.tvnow.de/',
        'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.42',
        'x-auth-token': jwt,
        'content-type': 'application/x-www-form-urlencoded',
    }
    
    def WV_Function(pssh, lic_url, cert_b64=None):
        wvdecrypt = WvDecrypt(init_data_b64=pssh, cert_data_b64=cert_b64, device=deviceconfig.device_android_generic)                   
        widevine_license = requests.post(url=lic_url, data=wvdecrypt.get_challenge(), headers=headers)
        license_b64 = b64encode(widevine_license.content)
        wvdecrypt.update_license(license_b64)
        Correct, keyswvdecrypt = wvdecrypt.start_process()
        if Correct:
            return Correct, keyswvdecrypt
    Correct, keys = WV_Function(pssh, lic_url)
    
    st=''
    for key in keys:
      st+=' --key '+key
    with open("key.txt","a+") as f:
      f.write(st[1:]+'\n')
    
    with open("key.txt", "r") as f2:
        datas = f2.read()
        print(datas)
    
    with open("key.txt", "r") as fs:
     ke_ys = fs.readlines()
     ke_ys = ke_ys[0].strip().split()   
    
    print()
    
    subprocess.run([m3u8DL_RE,
                    '-M', 'format=mkv:muxer=ffmpeg',
                    '--concurrent-download',
                    '--auto-select', 
                    '--del-after-done',
                    '--log-level', 'INFO',
                    '--save-name', 'video',
                    dashUrl, *ke_ys])
    
    try:
        Path('video.mkv').rename(''+a_title+'.mkv')
        print(f'{a_title}.mkv \nall done!\n')
    except FileNotFoundError:
        print("[ERROR] no mkv file")                
    
    for file_name in files_to_delete:
        if os.path.exists(file_name):
            os.remove(file_name)
            print(f"{file_name} file successfully deleted.")
    Thanks @sk8ordi3
    Quote Quote  
  7. Member
    Join Date
    Sep 2022
    Location
    Germany
    Search PM
    Hello, how to get the key?
    Quote Quote  
  8. Member
    Join Date
    Dec 2021
    Location
    england
    Search Comp PM
    Originally Posted by banaguitar View Post
    Hello, how to get the key?
    with wks-keys
    header:
    Image
    [Attachment 76582 - Click to enlarge]


    pssh and lic url:
    Image
    [Attachment 76583 - Click to enlarge]

    there is key
    Quote Quote  
  9. The key specifically for what?

    The process is described very well in the stickies of this forum. And if you really refer to RTL: it's one of the easier sites to get the keys from.

    Just find the mpd url, extract pssh, look for the license request, and let your local cdm script acquire the keys.

    If you look for a specific video you should post the url.
    Quote Quote  
  10. You can download it:
    Code:
    https://vodnowusoawsdash-cf.tvnow.de/p112/cves/sd/rtlplus/970336/1-1-1-1-1.ism/v1.mpd
    Code:
    3c65a53ab54b09f696ce477e7b5b6f80:b1210cae3b0e64f9821e66100a24f971
    https://github.com/DevLARLEY
    Keys from just the License URL: WidevineFetch
    Quote Quote  
  11. Member
    Join Date
    Nov 2014
    Location
    Germany
    Search Comp PM
    Hi!

    Thank you!

    What program I must using for downloading?

    I never do this...


    Greetings,

    HJ
    Quote Quote  
  12. Use N_m3u8DL-RE with the command:
    Code:
    N_m3u8DL-RE https://vodnowusoawsdash-cf.tvnow.de/p112/cves/sd/rtlplus/970336/1-1-1-1-1.ism/v1.mpd --key 3c65a53ab54b09f696ce477e7b5b6f80:b1210cae3b0e64f9821e66100a24f971 -M format=mkv
    You might also need ffmpeg if not already 'installed'.
    https://github.com/DevLARLEY
    Keys from just the License URL: WidevineFetch
    Quote Quote  
  13. Member
    Join Date
    Nov 2014
    Location
    Germany
    Search Comp PM
    Hi!

    Stocking with that...

    C:\Users\Hans Jörg>N_m3u8DL-RE https://vodnowusoawsdash-cf.tvnow.de/p112/cves/sd/rtlplus/970336/1-1-1-1-1.ism/v1.mpd --key 3c65a53ab54b09f696ce477e7b5b6f80:b1210cae3b0e64f98 21e66100a24f971 -M format=mkv
    23:39:06.428 INFO : N_m3u8DL-RE (Beta version) 20230628
    23:39:06.441 ERROR: mp4decrypt not found!

    Any help again?

    Greetings,

    HJ
    Quote Quote  
  14. Member
    Join Date
    Dec 2021
    Location
    england
    Search Comp PM
    your mp4decrypt is not in folder with N_m3u8DL-RE
    here, put it in folder with N_m3u8DL-RE
    https://files.videohelp.com/u/301156/mp4decrypt.zip
    Quote Quote  
  15. Member
    Join Date
    Nov 2014
    Location
    Germany
    Search Comp PM
    Hi!

    I could download the video now,but the audio is corrupted...



    00:18:00.785 WARN : Reading media info...
    00:18:01.039 INFO : NaN: Video, h264 (avc3), 1920x1080
    00:18:47.230 INFO : Binary merging...
    00:19:26.342 INFO : Decrypting...
    00:19:26.874 INFO : Start downloading...Aud audio_1=128000 | 128 Kbps | mp4a.40.2 | de | 2CH
    00:19:26.914 WARN : Type: cenc
    00:19:26.916 WARN : PSSH(WV): CAESIDNjNjVhNTNhYjU0YjA5ZjY5NmNlNDc3ZTdiNWI2ZjgwIg Y5NzAzMzYqAlNE
    00:19:26.917 WARN : KID: 3c65a53ab54b09f696ce477e7b5b6f80
    00:19:26.918 WARN : Reading media info...
    00:19:28.169 INFO : NaN: Audio, aac (mp4a), 128 kb/s
    00:19:32.189 INFO : Binary merging...
    00:19:32.799 INFO : Decrypting...
    00:19:32.859 WARN : v1_2024-07-30_00-17-59.mp4
    00:19:32.859 WARN : v1_2024-07-30_00-17-59.de.m4a
    00:19:32.859 WARN : Muxing to v1_2024-07-30_00-17-59.MUX.mp4
    00:19:33.559 WARN : [mov,mp4,m4a,3gp,3g2,mj2 @ 06674580] Incorrect number of samples in encryption info
    00:19:33.559 WARN : [mov,mp4,m4a,3gp,3g2,mj2 @ 06674580] Could not find codec parameters for stream 0 (Video: h264 (avc3
    / 0x33637661), none, 1920x1080, 7789 kb/s): unspecified pixel format
    00:19:33.562 WARN : Consider increasing the value for the 'analyzeduration' and 'probesize' options
    00:19:33.746 WARN : [mov,mp4,m4a,3gp,3g2,mj2 @ 07cae040] Incorrect number of samples in encryption info
    00:19:33.747 WARN : [mp4 @ 0ac2f400] track 1: codec frame size is not set
    00:19:33.749 WARN : [mov,mp4,m4a,3gp,3g2,mj2 @ 07cae040] Incorrect number of samples in encryption info
    00:19:33.758 WARN : [mov,mp4,m4a,3gp,3g2,mj2 @ 06674580] Incorrect number of samples in encryption info
    00:19:33.759 WARN : C:\Users\Hans J├Ârg\v1_2024-07-30_00-17-59.mp4: Invalid data found when processing input
    00:19:33.761 WARN : C:\Users\Hans J├Ârg\v1_2024-07-30_00-17-59.de.m4a: Invalid data found when processing input
    00:19:33.852 WARN : Cleaning files...
    00:19:33.853 ERROR: The process cannot access the file 'C:\Users\Hans Jörg\v1_2024-07-30_00-17-59.mp4' because it is being used by another process.

    What is the problem?

    Any help again...

    Greetings,
    Hans
    Quote Quote  
  16. Feels Good Man 2nHxWW6GkN1l916N3ayz8HQoi's Avatar
    Join Date
    Jan 2024
    Location
    Pepe Island
    Search Comp PM
    Originally Posted by ghostrewel View Post
    I could download the video now,but the audio is corrupted...
    https://www.transfernow.net/dl/20240730tAizNcEO
    --[----->+<]>.++++++++++++.---.--------.
    [*drm mass downloader: widefrog*]~~~[*how to make your own mass downloader: guide*]
    Quote Quote  



Similar Threads

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