VideoHelp Forum




Closed Thread
Results 1 to 7 of 7
  1. Hello, I am Medical student and need to download videos from osmosis and I've download ffmpeg and N_m3u8DL-RE tool but i couldn't find the playlist url and the method to collect and reverse .ts segments to be M3U8 can you help me to obtain the M3U8 playlist URL
    i trid and found this only :
    https://dnh6dukaziujl.cloudfront.net/AWW8Y_EzQ3eTeYyAN1K8iEjiRp2h6xC-/AWW8Y_EzQ3eTeYyA...=KF70WUO8EM3GK

    this is the video please explain on it
    https://www.osmosis.org/learn/Adrenergic_antagonists:_Beta_blockers?from=/oh/foundatio...ic-medications
    Image Attached Thumbnails Click image for larger version

Name:	osmosis.png
Views:	44
Size:	216.0 KB
ID:	80036  


  2. Member aqzs's Avatar
    Join Date
    Mar 2024
    Location
    Paris
    Search Comp PM
    The way this website works is really funny
    The m3u8 link is this one : https://www.osmosis.org/videoPlaylist?hash=AWW8Y_EzQ3eTeYyAN1K8iEjiRp2h6xC- but they reversed every letters in every lines and reversed the lines too.
    I join the correct m3u8.

    Here si your video : https://www.swisstransfer.com/d/e3610c67-6546-49c5-b774-ed4cc4e0d296

    Small script to get the job done :

    HTML Code:
    import requests
    
    def reverse_lines_and_letters(text):
        lines = text.split('\n')
        reversed_lines = [line[::-1] for line in lines]
        reversed_order_lines = reversed_lines[::-1]
        return '\n'.join(reversed_order_lines)
    
    m3u8link = input('m3u8link: ')
    
    text = requests.get(m3u8link).text
    
    reversed_text = reverse_lines_and_letters(text).replace('/enc.key', 'https://www.osmosis.org/enc.key')
    with open('file.m3u8', 'w') as f:
        f.write(reversed_text)
    Then run :
    Code:
    N_m3u8DL-RE file.m3u8
    Image Attached Files
    Last edited by aqzs; 19th Jun 2024 at 16:45.

  3. Originally Posted by aqzs View Post
    The way this website works is really funny
    The m3u8 link is this one : https://www.osmosis.org/videoPlaylist?hash=AWW8Y_EzQ3eTeYyAN1K8iEjiRp2h6xC- but they reversed every letters in every lines and reversed the lines too.
    I join the correct m3u8.

    Here si your video : https://www.swisstransfer.com/d/e3610c67-6546-49c5-b774-ed4cc4e0d296

    Small script to get the job done :

    HTML Code:
    import requests
    
    def reverse_lines_and_letters(text):
        lines = text.split('\n')
        reversed_lines = [line[::-1] for line in lines]
        reversed_order_lines = reversed_lines[::-1]
        return '\n'.join(reversed_order_lines)
    
    m3u8link = input('m3u8link: ')
    
    text = requests.get(m3u8link).text
    
    reversed_text = reverse_lines_and_letters(text).replace('/enc.key', 'https://www.osmosis.org/enc.key')
    with open('file.m3u8', 'w') as f:
        f.write(reversed_text)
    Then run :
    Code:
    N_m3u8DL-RE file.m3u8
    thank you very match can i ask you how to use this html code and where? the second help if you can learn me how to download all pharmacology videos in one step ?
    the pharma link is
    https://www.osmosis.org/library/oh/foundational-sciences/pharmacology

  4. thank you very much, but i didn't know how to apply the code to generate the m3u8 tex or video please i need the steps of how to use the code to download this course : https://www.osmosis.org/library/oh/foundational-sciences/pharmacology

  5. Member aqzs's Avatar
    Join Date
    Mar 2024
    Location
    Paris
    Search Comp PM
    Originally Posted by mozo2 View Post
    thank you very much, but i didn't know how to apply the code to generate the m3u8 tex or video please i need the steps of how to use the code to download this course : https://www.osmosis.org/library/oh/foundational-sciences/pharmacology
    I answered your question by PM. I'll not provide a script to get the videopalylist url based on the video page url because they are using cloudflare as protection and to bypass that you need to setup a Flaresolverr container which is beyond your capacities ^^
    I'll download every videos on my side when I'll have time and send back a download link is that fine ?

  6. Member aqzs's Avatar
    Join Date
    Mar 2024
    Location
    Paris
    Search Comp PM
    I looked up, there are 961 videos only in https://www.osmosis.org/library/oh/foundational-sciences/pharmacology /pathology
    I can provide videos you want but I'll not download that much. I can send a full script with Flaresolverr implementation too ?

  7. Okay thank you very muchI send me the script I need only pharmacology videos.


    EDIT BY ADMIN:

    This is not a free service.

    https://www.osmosis.org/plans/md?key=MD

    LOCKED
    Last edited by Baldrick; 29th Oct 2024 at 01:45.




Similar Threads

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