VideoHelp Forum
+ Reply to Thread
Results 1 to 23 of 23
Thread
  1. Hello everyone, I'm new to this great forum and I'm desperately trying to download the 2 episodes of this series :

    https://auvio.rtbf.be/emission/broceliande-27440

    I couldn't do it, so I'm asking for your help!

    Best regards

    Eliott
    Quote Quote  
  2. Member aqzs's Avatar
    Join Date
    Mar 2024
    Location
    Paris
    Search Comp PM
    Hey :

    Code:
    --key e54f42e03d6e43baaf751312de227cf1:aef41b75528a1ef2651ee765e9c5f248
    Code:
    --key 7af5140a53334ecf9175774c28fbc6a4:d253c9a9e3f65657b3fcec57e427cc2b
    Code:
    N_m3u8DL-RE 'https://c9851ec-az-westeurope-fsly.cdn.redbee.live/rtbf/auvio/assets/3196098_6BA97Bb/materials/pF82sjp074_6BA97Bb/vod-idx-2.ism/.mpd' --key 7af5140a53334ecf9175774c28fbc6a4:d253c9a9e3f65657b3fcec57e427cc2b -M format=mkv --save-name Broceliande.E01.1080p.WEB-DL
    Code:
    N_m3u8DL-RE 'https://c9851ec-az-westeurope-fsly.cdn.redbee.live/rtbf/auvio/assets/3196109_6BA97Bb/materials/XQHDAwGtOz_6BA97Bb/vod-idx-2.ism/.mpd' --key e54f42e03d6e43baaf751312de227cf1:aef41b75528a1ef2651ee765e9c5f248 -M format=mkv --save-name Broceliande.E02.1080p.WEB-DL
    Broceliande.E01.1080p.WEB-DL.mkv : https://buzzheavier.com/f/GOQEcTtqIAA=
    Broceliande.E02.1080p.WEB-DL.mkv : https://buzzheavier.com/f/GOQEcVKqIAA=

    Or transfernow which seems faster (upload is fast on buzzheavier but download is lagging for some reason) https://www.transfernow.net/dl/20240523o4PjluQW
    Last edited by aqzs; 23rd May 2024 at 03:52. Reason: added buzzheavier download links
    Quote Quote  
  3. Feels Good Man 2nHxWW6GkN1l916N3ayz8HQoi's Avatar
    Join Date
    Jan 2024
    Location
    Pepe Island
    Search Comp PM
    This should be automated. Looks fun. The manifest mpd doesn't even have tokens in it.
    --[----->+<]>.++++++++++++.---.--------.
    [*drm mass downloader: widefrog*]~~~[*how to make your own mass downloader: guide*]
    Quote Quote  
  4. Member aqzs's Avatar
    Join Date
    Mar 2024
    Location
    Paris
    Search Comp PM
    Originally Posted by 2nHxWW6GkN1l916N3ayz8HQoi View Post
    This should be automated. Looks fun. The manifest mpd doesn't even have tokens in it.
    Already got it automated for series :
    Code:
    import requests
    from pprint import pprint
    import json
    import re
    import xml.etree.ElementTree as ET
    from pywidevine.cdm import Cdm
    from pywidevine.device import Device
    from pywidevine.pssh import PSSH
    from dotenv import load_dotenv
    import os
    load_dotenv()
    
    # programId = 19251
    season = 4
    SHOWURL = 'https://auvio.rtbf.be/emission/jeux-d-influence-26887'
    SHOWURL = 'https://auvio.rtbf.be/emission/hpi-19251'
    programId = SHOWURL.split('-')[-1]
    
    cmd = []
    
    def getpssh(mpd_url):
        response = requests.get(mpd_url)
        root = ET.fromstring(response.content)
        try:
            return root[0][1][3][0].text
        except:
            return 'pssh not found'
        
    def dlpic(preview_url, name, workingdir):
        response = requests.get(preview_url)
        if response.status_code == 200:
            with open(f"{workingdir}/{name}.jpg", "wb") as f:
                f.write(response.content)
            print("L'image a été téléchargée avec succès.")
        else:
            print("Échec du téléchargement de l'image. Statut de la requête :", response.status_code)
    
    r = requests.get(SHOWURL)
    
    match = re.search(r'"initialState":(.*?)}}}",', r.text)
    if match:
        content = json.loads(json.loads(match.group(1) + '}}}"'))
        TOKEN = f"Bearer {content['auth']['rtbfTokens']['access_token']}"
    
        headers = {'accept': '*/*', 'accept-language': 'fr-FR,fr;q=0.8', 'authorization': TOKEN, 'cache-control': 'no-cache', 'origin': 'https://auvio.rtbf.be', 'pragma': 'no-cache', 'priority': 'u=1, i', 'referer': 'https://auvio.rtbf.be/', 'sec-ch-ua': '"Chromium";v="124", "Brave";v="124", "Not-A.Brand";v="99"', 'sec-ch-ua-mobile': '?0', 'sec-ch-ua-platform': '"macOS"', 'sec-fetch-dest': 'empty', 'sec-fetch-mode': 'cors', 'sec-fetch-site': 'same-site', 'sec-gpc': '1', 'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36', 'x-forwarded-for': '35.210.106.5', 'x-rtbf-redbee': 'Bearer ses_546803bb-0064-4047-9354-831c116c8731p|acc_71ab1a75882d4ee683bba6b12e2252b9_6BA97Bb|usr_71ab1a75882d4ee683bba6b12e2252b9_6BA97Bb|null|1713811838679|2013811838642|false|ea5e2785-3e79-4d87-b4e6-db734c88e321|WEB||RTBFAuvio||/eQvhu/uI+60MbfgYmfysncXAM/kav2o1gn/DeTVyds=',}
    
        params = (
            ('context[programId]', f'{programId}'),
            ('context[season]', f'{season}'),
        )
    
        data = json.loads(requests.get('https://bff-service.rtbf.be/auvio/v1.23/widgets/18800', headers=headers, params=params).text)
        if data['status'] != 401:
            for ct in data['data']['content']:
                titel = ct['subtitle']
                asset_id = ct['assetId']
    
                img_url = ct['illustration']['xl']
                # dlpic(img_url, titel, '/Users/noham/Downloads/temp/Capitaine.Marleau')
    
                headers = {'accept': 'application/json, text/plain, */*', 'accept-language': 'fr-FR,fr;q=0.8','cache-control': 'no-cache', 'origin': 'https://auvio.rtbf.be', 'pragma': 'no-cache', 'priority': 'u=1, i', 'referer': 'https://auvio.rtbf.be/', 'sec-ch-ua': '"Chromium";v="124", "Brave";v="124", "Not-A.Brand";v="99"', 'sec-ch-ua-mobile': '?0', 'sec-ch-ua-platform': '"macOS"', 'sec-fetch-dest': 'empty', 'sec-fetch-mode': 'cors', 'sec-fetch-site': 'cross-site',  'sec-gpc': '1', 'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36', 'x-forwarded-for': '35.210.106.5',
                    'authorization': 'Bearer ses_546803bb-0064-4047-9354-831c116c8731p|acc_71ab1a75882d4ee683bba6b12e2252b9_6BA97Bb|usr_71ab1a75882d4ee683bba6b12e2252b9_6BA97Bb|null|1713811838679|2013811838642|false|ea5e2785-3e79-4d87-b4e6-db734c88e321|WEB||RTBFAuvio||/eQvhu/uI+60MbfgYmfysncXAM/kav2o1gn/DeTVyds=',}
                
                data = json.loads(requests.get(f'https://exposure.api.redbee.live/v2/customer/RTBF/businessunit/Auvio/entitlement/{asset_id}/play', headers=headers, params=(('supportedDrms', 'widevine'),)).text)
    
                lic_url = data['formats'][0]['drm']['com.widevine.alpha']['licenseServerUrl']
                mpd_url = data['formats'][0]['mediaLocator']
    
                pssh = getpssh(mpd_url)
    
                headers = {'accept': '*/*','accept-language': 'fr-FR,fr;q=0.8','cache-control': 'no-cache', 'origin': 'https://auvio.rtbf.be', 'pragma': 'no-cache', 'priority': 'u=1, i', 'referer': 'https://auvio.rtbf.be/', 'sec-ch-ua': '"Chromium";v="124", "Brave";v="124", "Not-A.Brand";v="99"', 'sec-ch-ua-mobile': '?0', 'sec-ch-ua-platform': '"macOS"', 'sec-fetch-dest': 'empty', 'sec-fetch-mode': 'cors', 'sec-fetch-site': 'cross-site', 'sec-gpc': '1', 'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36', 'x-forwarded-for': '35.210.106.5'}
    
                pssh = PSSH(pssh)
    
                device = Device.load(os.getenv('DEVICEPATH'))
                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)
    
                keys = []
    
                for key in cdm.get_keys(session_id):
                    if key.type=='CONTENT':
                        keys.append(f'{key.kid.hex}:{key.key.hex()}')
    
                cmd.append(f"""N_m3u8DL-RE '{mpd_url}' --key {keys[0]} --save-name "{titel}"  -mt --select-video best --select-audio all  --select-subtitle all  -M format=mkv""")
            print(" && ".join(cmd))
        else:
            print(data['detail'])
    else:
        print("Content not found.")
    (Sorry for french logging )
    (I'm using os.getenv('DEVICEPATH') for the path of the device.wvd but you can paste the direct path, it's easier to work with when making a lot of script)
    Quote Quote  
  5. Feels Good Man 2nHxWW6GkN1l916N3ayz8HQoi's Avatar
    Join Date
    Jan 2024
    Location
    Pepe Island
    Search Comp PM
    Originally Posted by aqzs View Post
    Already got it automated for series
    Well done, bravo! The only weird things I noticed are those:
    - hardcoded value: x-rtbf-redbee. Seems kinda out of place and I guess is tied to your account? (I could be wrong)
    - getpssh not finding the pssh. If you have non-DRM content you can download it using the manifest without any encryption keys. If it's encrypted and the pssh still ain't there, you can get the pssh from the init mp4.

    Regardless, it's nice there's a public script for batch series downloading for this site. Was interested in incorporating this into my downloader but I see no point now.

    Originally Posted by aqzs View Post
    (Sorry for french logging )
    At least you aren't coding variables in non-English. That would be horrifying.
    --[----->+<]>.++++++++++++.---.--------.
    [*drm mass downloader: widefrog*]~~~[*how to make your own mass downloader: guide*]
    Quote Quote  
  6. Member aqzs's Avatar
    Join Date
    Mar 2024
    Location
    Paris
    Search Comp PM
    Originally Posted by 2nHxWW6GkN1l916N3ayz8HQoi View Post
    - hardcoded value: x-rtbf-redbee
    Yes it's linked to my account but the value ain't changing since I used, and it's a trash account don't worry.

    Originally Posted by 2nHxWW6GkN1l916N3ayz8HQoi View Post
    - getpssh not finding the pssh. If you have non-DRM content you can download it using the manifest without any encryption keys
    I implemented this for DRM content (especially for series), I don't though this website would have non DRM content

    Originally Posted by 2nHxWW6GkN1l916N3ayz8HQoi View Post
    Was interested in incorporating this into my downloader but I see no point now.
    You could incorporate it adding non DRM content and regular videos maybe ?
    I didn't implemented login too, since it's not worth it (as I said x-rtbf-redbee's value doesn't change)

    Originally Posted by 2nHxWW6GkN1l916N3ayz8HQoi View Post
    At least you aren't coding variables in non-English. That would be horrifying.
    Quote Quote  
  7. Feels Good Man 2nHxWW6GkN1l916N3ayz8HQoi's Avatar
    Join Date
    Jan 2024
    Location
    Pepe Island
    Search Comp PM
    Originally Posted by aqzs View Post
    You could incorporate it adding non DRM content and regular videos maybe ?
    Ok. I'll add it with other types of content as well. Shouldn't be that hard. There's a lot of content available through auvio.
    --[----->+<]>.++++++++++++.---.--------.
    [*drm mass downloader: widefrog*]~~~[*how to make your own mass downloader: guide*]
    Quote Quote  
  8. Hello, thank you for your help!

    I have successfully completed the steps but I am blocked at the final download:
    Code:
    C:\RTBFAuvioKit>N_m3u8DL-RE 'https://c9851ec-az-westeurope-fsly.cdn.redbee.live/rtbf/auvio/assets/3196098_6BA97Bb/materials/pF82sjp074_6BA97Bb/vod-idx-2.ism/.mpd' --key 7af5140a53334ecf9175774c28fbc6a4:d253c9a9e3f65657b3fcec57e427cc2b -M format=mkv --save-name Broceliande.E01.1080p.WEB-DL
    23:46:21.743 INFO : N_m3u8DL-RE (Beta version) 20230628
    23:46:21.769 INFO : Loading URL: 'https://c9851ec-az-westeurope-fsly.cdn.redbee.live/rtbf/auvio/assets/3196098_6BA97Bb/materials/pF82sjp074_6BA97Bb/vod-idx-2.ism/.mpd'
    23:46:21.770 ERROR: Object reference not set to an instance of an object.
    I couldn't find this error code on the forum, do you have any ideas?

    Thank you for your help!
    Quote Quote  
  9. Feels Good Man 2nHxWW6GkN1l916N3ayz8HQoi's Avatar
    Join Date
    Jan 2024
    Location
    Pepe Island
    Search Comp PM
    Originally Posted by bredojoiwere View Post
    I have successfully completed the steps but I am blocked at the final download:
    Always use double quotes. " instead of '
    Code:
    N_m3u8DL-RE "https://c9851ec-az-westeurope-fsly.cdn.redbee.live/rtbf/auvio/assets/3196098_6BA97Bb/materials/pF82sjp074_6BA97Bb/vod-idx-2.ism/.mpd" --key 7af5140a53334ecf9175774c28fbc6a4:d253c9a9e3f65657b3fcec57e427cc2b -M format=mkv --save-name Broceliande.E01.1080p.WEB-DL
    --[----->+<]>.++++++++++++.---.--------.
    [*drm mass downloader: widefrog*]~~~[*how to make your own mass downloader: guide*]
    Quote Quote  
  10. Hi all,
    Would it be possible to download the following ?
    https://auvio.rtbf.be/media/investigation-investigation-3241668
    or point me to instructions on how to do it myself.
    I tried with the python script but looks like I'm missing something

    SHOWURL = 'https://auvio.rtbf.be/media/investigation-investigation-3241668'

    Traceback (most recent call last):
    File "C:\Data\Scripts\py\getauvio.py", line 52, in <module>
    data = json.loads(requests.get('https://bff-service.rtbf.be/auvio/v1.23/widgets/18800', headers=headers, params=params).text)

    seems this https://bff-service.rtbf.be/auvio/v1.23/widgets/18800 returns 422 status
    Quote Quote  
  11. Feels Good Man 2nHxWW6GkN1l916N3ayz8HQoi's Avatar
    Join Date
    Jan 2024
    Location
    Pepe Island
    Search Comp PM
    Originally Posted by MrMojoRisin View Post
    Would it be possible to download the following ?
    https://auvio.rtbf.be/media/investigation-investigation-3241668
    Code:
    N_m3u8DL-RE "https://C9851Ec-az-westeurope-fsly.cdn.redbee.live/rtbf/auvio/assets/3241668_6BA97Bb/materials/JrGQFy6vIY_6BA97Bb/vod-idx-2.ism/.mpd" --key 0728a95b63b94bf7acd046219f4640c0:7e6078dc85d10ea3637e0f469340e07b --save-dir "media\auvio_rtbf_be" --save-name "Investigation_Dentiste_une_profession_hors_de_controle_-_Tdah_un_trouble_en_mal_dattention" -M format=mkv
    Code:
    python widefrog.py "https://auvio.rtbf.be/media/investigation-investigation-3241668"
    --[----->+<]>.++++++++++++.---.--------.
    [*drm mass downloader: widefrog*]~~~[*how to make your own mass downloader: guide*]
    Quote Quote  
  12. Code:
    N_m3u8DL-RE --key 0728a95b63b94bf7acd046219f4640c0:7e6078dc85d10ea3637e0f469340e07b "https://c9851ec-az-westeurope-fsly.cdn.redbee.live/rtbf/auvio/assets/3241668_6BA97Bb/materials/JrGQFy6vIY_6BA97Bb/vod-idx-2.ism/.mpd" -M format=mp4
    your file

    https://www.swisstransfer.com/d/a3efc5ab-8eb9-4f77-b538-824f8959cb3f
    Quote Quote  
  13. Thank you very much to both of you !
    - for the code sample
    - and for the upload !
    Quote Quote  
  14. Hi guys,

    crazy scripts and documentation you're doing here, that's awesome.

    Any luck to have the final output to download this video?

    https://auvio.rtbf.be/emission/le-quatuor-a-cornes-23775

    Thanks in advance.
    Quote Quote  
  15. Member aqzs's Avatar
    Join Date
    Mar 2024
    Location
    Paris
    Search Comp PM
    This video ins't encrypted :
    Code:
    N_m3u8DL-RE "https://c9851ec-az-westeurope-fsly.cdn.redbee.live/rtbf/auvio/assets/2854183_6BA97Bb/materials/kwHfwZKWbj_6BA97Bb/vod-idx.ism/.mpd" --save-name le-quatuor-a-cornes -M mkv -mt
    Download link : https://gofile.io/d/uwb7oA
    Quote Quote  
  16. Originally Posted by aqzs View Post
    This video ins't encrypted :
    Code:
    N_m3u8DL-RE "https://c9851ec-az-westeurope-fsly.cdn.redbee.live/rtbf/auvio/assets/2854183_6BA97Bb/materials/kwHfwZKWbj_6BA97Bb/vod-idx.ism/.mpd" --save-name le-quatuor-a-cornes -M mkv -mt
    Download link : https://gofile.io/d/uwb7oA
    You're amazing! Thank you so much.
    Quote Quote  
  17. Member
    Join Date
    Sep 2024
    Location
    France
    Search Comp PM
    Hi there!

    Any help for downloading this doc on rtbf.be? Which tool should I use, I'm running Ubuntu 22.04.4

    https://auvio.rtbf.be/emission/hitler-sur-table-d-ecoute-27635

    Thanks for any direction I should take.
    Quote Quote  
  18. Feels Good Man 2nHxWW6GkN1l916N3ayz8HQoi's Avatar
    Join Date
    Jan 2024
    Location
    Pepe Island
    Search Comp PM
    Code:
    N_m3u8DL-RE "https://C9851Ec-az-westeurope-fsly.cdn.redbee.live/rtbf/auvio/assets/3219269_6BA97Bb/materials/2H923E7OsW_6BA97Bb/vod-idx.ism/.mpd" --key 6975de773ffb461cae13f0cdb916b519:4bd1d6ac55b436190e6536b4b234cc12 --save-dir "media\auvio_rtbf_be" --save-name "Hitler_sur_table_decoute_Une_operation_delicate_menee_par_la_Resistance" -M format=mkv
    --[----->+<]>.++++++++++++.---.--------.
    [*drm mass downloader: widefrog*]~~~[*how to make your own mass downloader: guide*]
    Quote Quote  
  19. Member
    Join Date
    Sep 2024
    Location
    France
    Search Comp PM
    Thanks a lot for that quick answer.
    However, as being a complete newbie, how should I use the provided code?
    Is there a tool to which I should paste this code?

    Sorry for being such a numb...
    Quote Quote  
  20. Feels Good Man 2nHxWW6GkN1l916N3ayz8HQoi's Avatar
    Join Date
    Jan 2024
    Location
    Pepe Island
    Search Comp PM
    --[----->+<]>.++++++++++++.---.--------.
    [*drm mass downloader: widefrog*]~~~[*how to make your own mass downloader: guide*]
    Quote Quote  
  21. Member
    Join Date
    Sep 2024
    Location
    France
    Search Comp PM
    Thank you so much for the file.
    Alternately, I would be glad to learn how to use the code that was provided earlier, and how was it generated.
    Is there any chance that I can learn how to do this myself?

    Thanks again for your help.
    Quote Quote  
  22. Sure. Follow the links Pepe posted here: https://forum.videohelp.com/threads/415902-not-work-keysdb-net#post2750258
    Or look through the "Decryption" series by Angela in the stickies. It's not rocket science.
    Quote Quote  
  23. Member
    Join Date
    Sep 2024
    Location
    France
    Search Comp PM
    Thanks for the advice!
    Quote Quote  



Similar Threads

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