VideoHelp Forum


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


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


+ Reply to Thread
Page 1 of 2
1 2 LastLast
Results 1 to 30 of 36
Thread
  1. Member
    Join Date
    Feb 2021
    Location
    France
    Search Comp PM
    Hello,

    i have some trouble to find the mpd url of videos from M6+.
    Example : this episode -> https://www.6play.fr/lois-et-clark-les-nouvelles-aventures-de-supe-p_25720/s1-e2-un-ho...urs-c_13065886

    I tried source code and devtools but couldn't find the mpd url.

    Any help please ?
    Quote Quote  
  2. Member aqzs's Avatar
    Join Date
    Mar 2024
    Location
    Paris
    Search Comp PM
    Here is the mpd :
    Code:
    https://lbcdn.6cloud.fr/resource/m6web/s/m6web/output/1/d/c/1dc64131ea8d1ce7b03e6032a16e06af521eb2e8/static/13065886_db8ff67cb96b9dd9995e19dfc005803f_web_dash_upTo1080p_1080p_vbr_cae_drm_software.mpd
    Key :
    Code:
    320f259dc412dd1fc936882f592ed700:66b801bb310d4abdf789ae5d7bb94106
    Download command :
    Code:
    N_m3u8DL-RE "https://lbcdn.6cloud.fr/resource/m6web/s/m6web/output/1/d/c/1dc64131ea8d1ce7b03e6032a16e06af521eb2e8/static/13065886_db8ff67cb96b9dd9995e19dfc005803f_web_dash_upTo1080p_1080p_vbr_cae_drm_software.mpd?expiration=1719514438&scheme=https&groups%5B0%5D=m6web&token=TRUNCATED" --save-name "Loïs et Clark : les nouvelles aventures de Superman - S1 E2 - Un homme étrange venu d'ailleurs" --select-video best --select-audio all --select-subtitle all -mt -M format=mkv  --log-level OFF --key 320f259dc412dd1fc936882f592ed700:66b801bb310d4abdf789ae5d7bb94106
    Download link : https://www.swisstransfer.com/d/1f0412d6-b62c-419f-8df0-a0b494dfa8ca
    Quote Quote  
  3. Member
    Join Date
    Feb 2021
    Location
    France
    Search Comp PM
    Thank you for the download link



    Originally Posted by aqzs View Post

    Download command :
    Code:
    N_m3u8DL-RE "https://lbcdn.6cloud.fr/resource/m6web/s/m6web/output/1/d/c/1dc64131ea8d1ce7b03e6032a16e06af521eb2e8/static/13065886_db8ff67cb96b9dd9995e19dfc005803f_web_dash_upTo1080p_1080p_vbr_cae_drm_software.mpd?expiration=1719514438&scheme=https&groups%5B0%5D=m6web&token=TRUNCATED" --save-name "Loïs et Clark : les nouvelles aventures de Superman - S1 E2 - Un homme étrange venu d'ailleurs" --select-video best --select-audio all --select-subtitle all -mt -M format=mkv  --log-level OFF --key 320f259dc412dd1fc936882f592ed700:66b801bb310d4abdf789ae5d7bb94106
    Where do i have to put this ? in terminal ?
    Quote Quote  
  4. Member aqzs's Avatar
    Join Date
    Mar 2024
    Location
    Paris
    Search Comp PM
    You have to download N_m3u8DL-RE and then put that command in a terminal yes
    Quote Quote  
  5. Member
    Join Date
    Feb 2021
    Location
    France
    Search Comp PM
    Originally Posted by aqzs View Post
    You have to download N_m3u8DL-RE and then put that command in a terminal yes

    It's been 1 hour i try to install it but it's too compliated 😭😭

    On Mac, in terminal, what i have to put to download it ?
    something starting with :

    brew install

    ?

    and then

    N_m3u8DL-RE
    https://github.com/nilaoda/N_m3u8DL-RE.git

    ???
    Quote Quote  
  6. Download from here: https://github.com/stabbedbybrick/N_m3u8DL-RE/releases, unzip, and put the binary "N_m3u8DL-RE" into your path, eg /usr/local/bin.

    (It's more current than the release binaries from the nilaoda repo.)
    Last edited by Obo; 27th Jun 2024 at 06:12.
    Quote Quote  
  7. Member aqzs's Avatar
    Join Date
    Mar 2024
    Location
    Paris
    Search Comp PM
    If you are on a mac with a M chip download : https://github.com/nilaoda/N_m3u8DL-RE/releases/download/v0.2.0-beta/N_m3u8DL-RE_Beta_...0230628.tar.gz
    If intel chip download : https://github.com/nilaoda/N_m3u8DL-RE/releases/download/v0.2.0-beta/N_m3u8DL-RE_Beta_...0230628.tar.gz

    Then unzip and put 'N_m3u8DL-RE' in a folder that will never move. Copy the path of N_m3u8DL-RE and open a terminal.
    Type :
    Code:
    chmod +x PATHTON_m3u8DL-RE
    Code:
    nano ~/.zshrc
    Add :
    Code:
    alias N_m3u8DL-RE="PATHTOFN_m3u8DL-RE"
    After install mkvmege and all :
    Code:
    brew install bento4
    Install ffmpeg :
    Code:
    brew install ffmpeg
    Then type :
    Code:
    source ~/.zshrc
    Or close and reopen terminal. You should be able to run any command.
    Quote Quote  
  8. Member
    Join Date
    Feb 2021
    Location
    France
    Search Comp PM
    Originally Posted by aqzs View Post
    Then unzip and put 'N_m3u8DL-RE' in a folder that will never move. Copy the path of N_m3u8DL-RE and open a terminal.
    Type :
    Code:
    chmod +x PATHTON_m3u8DL-RE
    Code:
    nano ~/.zshrc
    Add :
    Code:
    alias N_m3u8DL-RE="PATHTOFN_m3u8DL-RE"
    Ok so i unziped 'N_m3u8DL-RE' and put it in :

    /usr/local/bin/N_m3u8DL-RE


    But after i'm lost, what do i have to put in terminal now ?

    because if i put

    chmod +x PATHTON_m3u8DL-RE

    i got : chmod: PATHTON_m3u8DL-RE: No such file or directory
    Quote Quote  
  9. Member aqzs's Avatar
    Join Date
    Mar 2024
    Location
    Paris
    Search Comp PM
    Originally Posted by Zacki View Post
    i got : chmod: PATHTON_m3u8DL-RE: No such file or directory
    Don't use 'PATHTON_m3u8DL-RE' but replace with your own path.. In your case :
    Code:
    chmod +x /usr/local/bin/N_m3u8DL-RE
    Quote Quote  
  10. Member
    Join Date
    Feb 2021
    Location
    France
    Search Comp PM
    Originally Posted by aqzs View Post
    Originally Posted by Zacki View Post
    i got : chmod: PATHTON_m3u8DL-RE: No such file or directory
    Don't use 'PATHTON_m3u8DL-RE' but replace with your own path.. In your case :
    Code:
    chmod +x /usr/local/bin/N_m3u8DL-RE

    Thanks !
    then i put this in terminal : nano ~/.zshrc


    and got this :


    UW PICO 5.09 File: /Users/zacki/.zshrc




    ^G Get Help ^O WriteOut ^R Read File ^Y Prev Pg ^K Cut Text ^C Cur Pos
    ^X Exit ^J Justify ^W Where is ^V Next Pg ^U UnCut Text^T To Spell


    What do i have to do please ?
    Quote Quote  
  11. Member aqzs's Avatar
    Join Date
    Mar 2024
    Location
    Paris
    Search Comp PM
    It's a text editor, add the line I provided..
    Code:
    alias N_m3u8DL-RE="/usr/local/bin/N_m3u8DL-RE"
    To exit type control+x then y then enter
    Quote Quote  
  12. Member
    Join Date
    Feb 2021
    Location
    France
    Search Comp PM
    So i have to open terminal, then put :

    chmod +x /usr/local/bin/N_m3u8DL-RE

    and "enter"

    then put nano ~/.zshrc

    and enter ?
    Quote Quote  
  13. Unnecessary to create an alias for N_m3u8DL_RE if it's already in the path. Why would I want to do that?
    Quote Quote  
  14. Member aqzs's Avatar
    Join Date
    Mar 2024
    Location
    Paris
    Search Comp PM
    In my guide I din't wrote to put it in /usr/local/bin/ that's why I explained how to add it to path. You explain probably better than me so help him. Thanks !
    Quote Quote  
  15. Member
    Join Date
    Feb 2021
    Location
    France
    Search Comp PM
    Originally Posted by Obo View Post
    Download from here: https://github.com/stabbedbybrick/N_m3u8DL-RE/releases, unzip, and put the binary "N_m3u8DL-RE" into your path, eg /usr/local/bin.

    Ok i did it.
    What i have to do now ?
    Quote Quote  
  16. If you've put the binary into /usr/local/bin, you should be ready to go. If you haven't installed yet, you will probably need ffmpeg as well, and it doesn't hurt to install the Bento binaries (mp4decrypt), but N_m3u8DL-RE doesn't use them as far as I know.

    Just make sure, the binary is executable and in case is quarantined, remove the flag:
    Code:
    chmod +x /usr/local/bin/N_m3u8DL-RE
    xattr -r -d com.apple.quarantine /usr/local/bin/N_m3u8DL-RE
    Use "sudo" if you need to do this as root.
    Quote Quote  
  17. Member
    Join Date
    Feb 2021
    Location
    France
    Search Comp PM
    Originally Posted by Obo View Post
    If you've put the binary into /usr/local/bin, you should be ready to go. If you haven't installed yet, you will probably need ffmpeg as well, and it doesn't hurt to install the Bento binaries (mp4decrypt), but N_m3u8DL-RE doesn't use them as far as I know.

    Just make sure, the binary is executable and in case is quarantined, remove the flag:
    Code:
    chmod +x /usr/local/bin/N_m3u8DL-RE
    xattr -r -d com.apple.quarantine /usr/local/bin/N_m3u8DL-RE
    Use "sudo" if you need to do this as root.

    So in terminal i put the download command from member aqzs (post number 2) :


    N_m3u8DL-RE "https://lbcdn.6cloud.fr/resource/m6web/s/m6web/output/1/d/c/1dc64131ea8d1ce7b03e6032a16e06af521eb2e8/static/13065886_db8ff67cb96b9dd9995e19dfc005803f_web_dash _upTo1080p_1080p_vbr_cae_drm_software.mpd?expirati on=1719514438&scheme=https&groups%5B0%5D=m6web&tok en=TRUNCATED" --save-name "Loïs et Clark : les nouvelles aventures de Superman - S1 E2 - Un homme étrange venu d'ailleurs" --select-video best --select-audio all --select-subtitle all -mt -M format=mkv --log-level OFF --key 320f259dc412dd1fc936882f592ed700:66b801bb310d4abdf 789ae5d7bb94106


    but after when i click on "enter", nothing happen.
    Quote Quote  
  18. Member aqzs's Avatar
    Join Date
    Mar 2024
    Location
    Paris
    Search Comp PM
    Remove '--log-level OFF' from the command I provided and then send us the logs prompted in your terminal after running the command.
    You also have to gather the mpd url by your self since those are IP binded (that why I put 'TRUNCATED')
    Last edited by aqzs; 27th Jun 2024 at 07:45.
    Quote Quote  
  19. Member
    Join Date
    Feb 2021
    Location
    France
    Search Comp PM
    Originally Posted by Obo View Post
    If you've put the binary into /usr/local/bin, you should be ready to go. If you haven't installed yet, you will probably need ffmpeg as well, and it doesn't hurt to install the Bento binaries (mp4decrypt), but N_m3u8DL-RE doesn't use them as far as I know.

    Just make sure, the binary is executable and in case is quarantined, remove the flag:
    Code:
    chmod +x /usr/local/bin/N_m3u8DL-RE
    xattr -r -d com.apple.quarantine /usr/local/bin/N_m3u8DL-RE
    Use "sudo" if you need to do this as root.

    So in terminal, i have to put :

    sudo chmod +x /usr/local/bin/N_m3u8DL-RE
    xattr -r -d com.apple.quarantine /usr/local/bin/N_m3u8DL-RE

    ?
    Quote Quote  
  20. Member
    Join Date
    Feb 2021
    Location
    France
    Search Comp PM
    Originally Posted by aqzs View Post
    Remove '--log-level OFF' from the command I provided and then send us the logs prompted in your terminal after running the command.
    You also have to gather the mpd url by your self since those are IP binded (that why I put 'TRUNCATED')
    Doesn't work, it says :

    14:43:20.958 INFO : N_m3u8DL-RE (Beta version) 20230628
    14:43:20.973 INFO : Loading URL: https://lbcdn.6cloud.fr/resource/m6web/s/m6web/output/1/d/c/1dc64131ea8d1ce7b03e6032a1...oken=TRUNCATED
    14:43:21.088 ERROR: One or more errors occurred. (Response status code does not indicate success: 403 (Forbidden).)
    Quote Quote  
  21. Member
    Join Date
    Feb 2021
    Location
    France
    Search Comp PM
    To download the first episode of the show Lois and Clark, someone somewhere else helped me saying this :

    You need mpd URL, key to decrypt and I prefer N_m3u8DL-RE

    N_m3u8DL-RE -mt true -M format=mp4kip_sub=true --key %key% "%url%"

    The tool, ffmpeg and mp4decrypt is in zip here (max 6 days)

    start _go.cmd and enter url + key from here

    and everything is perfectly working and it was really for me to do it.

    The problem is that i have no idea where he found the url mpd and the key.
    That's also why i opened this topic, to know where to find that.

    Because for the episode 2, the url that member aqzs gave me, i can find it in the devtools but when i put the url and the key aqzs gave me on the go.cmd, it doesn't work.
    Quote Quote  
  22. Member aqzs's Avatar
    Join Date
    Mar 2024
    Location
    Paris
    Search Comp PM
    Open devtools and search for mpd (after refreshing) :
    Image
    [Attachment 80243 - Click to enlarge]
    Quote Quote  
  23. Member
    Join Date
    Feb 2021
    Location
    France
    Search Comp PM
    and for the key ?
    Quote Quote  
  24. Member aqzs's Avatar
    Join Date
    Mar 2024
    Location
    Paris
    Search Comp PM
    Find the pssh, here it's :
    Code:
    AAAAWnBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAADoIARIQMg8lncQS3R/JNogvWS7XACIkZXlKaGMzTmxkRWxrSWpvaVkyeHBjRjh4TXpBMk5UZzROaUo5
    And use a python script like this one, you have to replace the path of device.wvd (grab a wvd from here : https://forum.videohelp.com/threads/413719-Ready-to-use-CDMs-available-here%21) :
    HTML Code:
    from pywidevine.cdm import Cdm
    from pywidevine.device import Device
    from pywidevine.pssh import PSSH
    import requests
    import json
    
    TOKEN = '' # you will find that token in the header of the request
    
    headers = {'x-dt-auth-token': TOKEN,}
    
    pssh = input("PSSH? ") # you will find the pssh in the mpd
    pssh = PSSH(pssh)
    lic_url='https://lic.drmtoday.com/license-proxy-widevine/cenc/?specConform=true'
    
    device = Device.load("device.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)
    Or use https://cdrm-project.com/ :
    Image
    [Attachment 80244 - Click to enlarge]


    I suggest you reading sticky threads : https://forum.videohelp.com/threads/404994-Decryption-and-the-Temple-of-Doom and https://forum.videohelp.com/threads/408557-Decryption-The-Last-Crusade
    Quote Quote  
  25. Member
    Join Date
    Feb 2021
    Location
    France
    Search Comp PM
    Thank you again for your help aqzs but where do i find the pssh ? is it in the devtools ?
    Quote Quote  
  26. Member aqzs's Avatar
    Join Date
    Mar 2024
    Location
    Paris
    Search Comp PM
    You will find the pssh in the mpd :
    Image
    [Attachment 80245 - Click to enlarge]


    All of that is written in the sticky threads I sent url, please read them before asking for advices..
    Quote Quote  
  27. Member
    Join Date
    Feb 2021
    Location
    France
    Search Comp PM
    Sorry ��
    and thank you again.
    I hope it works, i will try after work.
    Quote Quote  
  28. Member
    Join Date
    Feb 2021
    Location
    France
    Search Comp PM
    I succeed everything except this : you will find that token in the header of the request.
    I can't find any token in the header, is it normal ?
    Quote Quote  
  29. Member aqzs's Avatar
    Join Date
    Mar 2024
    Location
    Paris
    Search Comp PM
    Make sure to search for widevine and take the second request, not the first one, scroll down to the bottom to 'request headers' and grab the value of 'x-dt-auth-token'
    Image
    [Attachment 80262 - Click to enlarge]
    Quote Quote  
  30. Member
    Join Date
    Feb 2021
    Location
    France
    Search Comp PM
    Thank you ! I had no idea i have to search for "widevine".
    Quote Quote  



Similar Threads

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