VideoHelp Forum
+ Reply to Thread
Results 1 to 10 of 10
Thread
  1. This summer, France.tv is airing another season of Fort Boyard. Is there any way to download these streams?

    Thanks.
    Quote Quote  
  2. The videos from france.tv are no drm protected.

    You just have to use yt-dlp to download the mpd.file

    for example on this page :

    https://www.france.tv/france-2/fort-boyard/fort-boyard-saison-31/1861611-equipe-ecole-...rraneenne.html

    Code:
    yt-dlp https://cloudreplay.ftven.fr/eb6127cbc3a26/1126856253_france-domtom_TA.ism/ZXhwPTE2NTU1NTIzODV+YWNsPSUyZmViNjEyN2NiYzNhMjYlMmYxMTI2ODU2MjUzX2ZyYW5jZS1kb210b21fVEEuaXNtKn5obWFjPTA2MDlmM2Y3ZmYzMTRiY2ExNjdiYzRmZjMzMGM0MDNiZWEwM2M0ZGVmMzY5ODM5NzY2MGQ4NDE2YzhlOGE1MmM=/manifest.mpd
    Quote Quote  
  3. Originally Posted by cedric8528 View Post
    The videos from france.tv are no drm protected.

    You just have to use yt-dlp to download the mpd.file

    for example on this page :

    https://www.france.tv/france-2/fort-boyard/fort-boyard-saison-31/1861611-equipe-ecole-...rraneenne.html

    Code:
    yt-dlp https://cloudreplay.ftven.fr/eb6127cbc3a26/1126856253_france-domtom_TA.ism/ZXhwPTE2NTU1NTIzODV+YWNsPSUyZmViNjEyN2NiYzNhMjYlMmYxMTI2ODU2MjUzX2ZyYW5jZS1kb210b21fVEEuaXNtKn5obWFjPTA2MDlmM2Y3ZmYzMTRiY2ExNjdiYzRmZjMzMGM0MDNiZWEwM2M0ZGVmMzY5ODM5NzY2MGQ4NDE2YzhlOGE1MmM=/manifest.mpd
    This works also for complete episodes?

    For example https://www.france.tv/france-2/un-si-grand-soleil/un-si-grand-soleil-saison-4/3414796-...-mai-2022.html

    How do I get the complete yt-dlp code for an episode?
    Quote Quote  
  4. You just have to find the mpd file (via developer tools of your browser)

    Code:
    yt-dlp https://cloudreplay.ftven.fr/de79c39221926/1120122492_france-domtom_TA.ism/ZXhwPTE2NTU2NjkyMzJ+YWNsPSUyZmRlNzljMzkyMjE5MjYlMmYxMTIwMTIyNDkyX2ZyYW5jZS1kb210b21fVEEuaXNtKn5obWFjPTQxMjlmNTNjNjU1N2RjZWM3MDRjZTNkNGFkYTIyNzg0ZTEwMzE1NDQ2ZjRkYzFhYTIyN2QwN2ZjYjlmOGRjYjQ=/manifest.mpd
    You can also use CaptvTy for all french Replay without Drm.

    https://captvty.fr/
    Quote Quote  
  5. I am new to this kind of stuff, could someone help me find the mpd file here https://www.france.tv/france-2/fort-boyard/560427-fort-boyard.html
    Thanks
    Last edited by Folty; 1st Jul 2023 at 08:34. Reason: typo
    Quote Quote  
  6. Originally Posted by lomero View Post
    Any other way to get the episode?
    Quote Quote  
  7. Member
    Join Date
    Mar 2021
    Location
    Israel
    Search Comp PM
    Originally Posted by Folty View Post
    Originally Posted by lomero View Post
    Any other way to get the episode?
    I think you need to sign up for an account first.
    If you don't live in France then you might need a French IP otherwise it is most probably geoblocked.
    Quote Quote  
  8. france.tv + subchannels / live
    (acc not needed just france ip)

    Image
    [Attachment 72192 - Click to enlarge]


    Code:
    import requests
    import json
    import re
    
    print('\ntest link: https://www.france.tv/france-2/fort-boyard/fort-boyard-saison-33/3787387-emission-du-samedi-27-aout-2022.html\ntest link: https://www.france.tv/france-2/un-si-grand-soleil/un-si-grand-soleil-saison-5/5031504-episode-du-lundi-3-juillet-2023.html\ntest link: https://www.france.tv/sport/cyclisme/tour-de-france/5020876-etape-1-partie-3.html\n')
    
    link = input('link: ')
    
    headers1 = {
        'authority': 'www.france.tv',
        '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',
        'referer': 'https://www.france.tv/inscription/',
        'user-agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36',
    }
    
    response1 = requests.get(link, headers=headers1).text
    
    try:
        video_json = re.findall(r'; window.FTVPlayerVideos = (.*?);', response1)[0].strip()
        video_json = json.loads(video_json)
        
        video_id = video_json[0]['videoId']
        print(f'\n{video_id}')
        
        import requests
        
        headers2 = {
            'Origin': 'https://www.france.tv',
            'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36',
        }
        
        params2 = {
            'country_code': 'FR',
            'player_version': '5.86.0',
            'domain': 'www.france.tv',
            'device_type': 'desktop',
            'browser': 'chrome',
            'browser_version': '102',
            'os': 'windows',
            'os_version': '10.0',
        }
        
        response2 = requests.get('https://k7.ftven.fr/videos/'+video_id+'', params=params2, headers=headers2).json()
        
        get_mpd_p1 = response2['streamroot']['content_id']
        
        meta_title = response2['meta']['title']
        pre_title = response2['meta']['pre_title']
        additional_title = response2['meta']['additional_title']
        
        title = f'{meta_title} - {pre_title} {additional_title}'
        print(f'\n{title}')
        
        import requests
        
        headers3 = {
            'Origin': 'https://www.france.tv',
            'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36',
        }
        
        params3 = {
            'format': 'json',
            'url': get_mpd_p1,
        }
        
        response3 = requests.get('https://hdfauth.ftven.fr/esi/TA', params=params3, headers=headers3).json()
        
        mpd = response3['url']
        print(f'\n{mpd}\n')
    except IndexError:
        print(f'\nVideo is not available\n')
    Quote Quote  



Similar Threads

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