VideoHelp Forum
+ Reply to Thread
Results 1 to 24 of 24
Thread
  1. Hi, guys!

    I'm trying to download video from iframe.mediadelivery.net with streamlink

    Code:
    streamlink --http-header User-Agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36" --http-header Referer="https://iframe.mediadelivery.net/embed/195537/3c65fdd1-af96-449d-8b1c-bd21cce44027" "hls://https://iframe.mediadelivery.net/3c65fdd1-af96-449d-8b1c-bd21cce44027/playlist.drm?contextId=9c25c1ca-f4f2-40b7-aba7-b16f2d666a6a&secret=175d57e0-a57e-4ae6-922c-4ed25119bd43" best -o "C:\Users\MyProfile\Downloads\video.ts"
    but have this error

    Code:
    [cli][info] Found matching plugin hls for URL hls://https://iframe.mediadelivery.net/3c65fdd1-af96-449d-8b1c-bd21cce44027/playlist.drm?contextId=9c25c1ca-f4f2-40b7-aba7-b16f2d666a6a&secret=175d57e0-a57e-4ae6-922c-4ed25119bd43
    error: Unable to open URL: https://iframe.mediadelivery.net/3c65fdd1-af96-449d-8b1c-bd21cce44027/playlist.drm?contextId=9c25c1ca-f4f2-40b7-aba7-b16f2d666a6a&secret=175d57e0-a57e-4ae6-922c-4ed25119bd43 (401 Client Error: Unauthorized for url: https://iframe.mediadelivery.net/3c65fdd1-af96-449d-8b1c-bd21cce44027/playlist.drm?contextId=9c25c1ca-f4f2-40b7-aba7-b16f2d666a6a&secret=175d57e0-a57e-4ae6-922c-4ed25119bd43)
    Video urls:
    https://piclub.in.ua/polza/video12
    https://iframe.mediadelivery.net/embed/195537/3c65fdd1-af96-449d-8b1c-bd21cce44027
    https://iframe.mediadelivery.net/3c65fdd1-af96-449d-8b1c-bd21cce44027/playlist.drm?con...c-4ed25119bd43

    Please help to download this video. Maybe there are other ways or I'm doing something wrong
    Quote Quote  
  2. Feels Good Man 2nHxWW6GkN1l916N3ayz8HQoi's Avatar
    Join Date
    Jan 2024
    Location
    Pepe Island
    Search Comp PM
    yt-dlp + custom python script. More explained here: https://forum.videohelp.com/threads/411645-Trying-to-download-from-iframe-mediadelivery#post_2706217
    I downloaded it using that script and it works.

    Code:
    if __name__ == '__main__':
        video = BunnyVideoDRM(
            # insert the referer between the quotes below (address of your webpage)
            referer='https://piclub.in.ua/polza/video12',
            # paste your embed link
            embed_url='https://iframe.mediadelivery.net/embed/195537/3c65fdd1-af96-449d-8b1c-bd21cce44027',
            # you can override file name, no extension
            name="test_name",
            # you can override download path
            path=r"test_path")
        # video.session.close()
        video.download()
    Quote Quote  
  3. Originally Posted by 2nHxWW6GkN1l916N3ayz8HQoi View Post
    yt-dlp + custom python script. More explained here: https://forum.videohelp.com/threads/411645-Trying-to-download-from-iframe-mediadelivery#post_2706217
    I downloaded it using that script and it works.

    Code:
    if __name__ == '__main__':
        video = BunnyVideoDRM(
            # insert the referer between the quotes below (address of your webpage)
            referer='https://piclub.in.ua/polza/video12',
            # paste your embed link
            embed_url='https://iframe.mediadelivery.net/embed/195537/3c65fdd1-af96-449d-8b1c-bd21cce44027',
            # you can override file name, no extension
            name="test_name",
            # you can override download path
            path=r"test_path")
        # video.session.close()
        video.download()
    Thank you! It's work for me
    Quote Quote  
  4. Hi, guys!

    I'm trying to download another video from iframe.mediadelivery.net with yt-dlp + custom script from https://github.com/MaZED-UP/bunny-cdn-drm-video-dl

    This method works fine for video from link
    https://piclub.in.ua/polza/video12
    https://iframe.mediadelivery.net/embed/195537/3c65fdd1-af96-449d-8b1c-bd21cce44027

    But for video
    https://piclub.in.ua/polza/video15
    https://iframe.mediadelivery.net/embed/197153/b691fe45-7da0-4587-b8b0-a918bd04210b
    it's now working.

    Show this error message

    user@user Downloads % python3 b-cdn-drm-vod-dl.py
    Traceback (most recent call last):
    File "/Users/user/Downloads/b-cdn-drm-vod-dl.py", line 178, in <module>
    video = BunnyVideoDRM(
    ^^^^^^^^^^^^^^
    File "/Users/user/Downloads/b-cdn-drm-vod-dl.py", line 84, in __init__
    self.context_id, self.secret = search.group(1), search.group(2)
    ^^^^^^^^^^^^
    AttributeError: 'NoneType' object has no attribute 'group'
    Streamlink doesn't work either.

    Help me please to download this video. Maybe there are other ways :/
    Quote Quote  
  5. Originally Posted by silverrulezz View Post
    Hi, guys!

    I'm trying to download another video from iframe.mediadelivery.net with yt-dlp + custom script from https://github.com/MaZED-UP/bunny-cdn-drm-video-dl

    This method works fine for video from link
    https://piclub.in.ua/polza/video12
    https://iframe.mediadelivery.net/embed/195537/3c65fdd1-af96-449d-8b1c-bd21cce44027

    But for video
    https://piclub.in.ua/polza/video15
    https://iframe.mediadelivery.net/embed/197153/b691fe45-7da0-4587-b8b0-a918bd04210b
    it's now working.

    Show this error message

    user@user Downloads % python3 b-cdn-drm-vod-dl.py
    Traceback (most recent call last):
    File "/Users/user/Downloads/b-cdn-drm-vod-dl.py", line 178, in <module>
    video = BunnyVideoDRM(
    ^^^^^^^^^^^^^^
    File "/Users/user/Downloads/b-cdn-drm-vod-dl.py", line 84, in __init__
    self.context_id, self.secret = search.group(1), search.group(2)
    ^^^^^^^^^^^^
    AttributeError: 'NoneType' object has no attribute 'group'
    Streamlink doesn't work either.

    Help me please to download this video. Maybe there are other ways :/
    https://gofile.io/d/PaN1eu
    Quote Quote  
  6. Feels Good Man 2nHxWW6GkN1l916N3ayz8HQoi's Avatar
    Join Date
    Jan 2024
    Location
    Pepe Island
    Search Comp PM
    Just copy the command directly from the stream detector addon. This one doesn't need a pinging script.
    Quote Quote  
  7. Member
    Join Date
    Dec 2021
    Location
    england
    Search Comp PM
    Code:
    N_m3u8DL-RE -M format=mkv --header "Referer: https://iframe.mediadelivery.net/" --key 24ed4d377b815ba6b0eec470db39a02f:54fa182f9e9e4d4408e4bd6a4a310377 --key 3754ee42388851a39e4d2d17adfc7905:1473cd625493e4f079c09902ac408c41 --key 86d2d142ff905d4fa4060aec0d262990:206f9999121ef9965c945a9002422ef8 "https://vz-721f5576-1eb.b-cdn.net/b691fe45-7da0-4587-b8b0-a918bd04210b/playlist.m3u8" --save-name video
    Quote Quote  
  8. Originally Posted by iamghost View Post
    Code:
    N_m3u8DL-RE -M format=mkv --header "Referer: https://iframe.mediadelivery.net/" --key 24ed4d377b815ba6b0eec470db39a02f:54fa182f9e9e4d4408e4bd6a4a310377 --key 3754ee42388851a39e4d2d17adfc7905:1473cd625493e4f079c09902ac408c41 --key 86d2d142ff905d4fa4060aec0d262990:206f9999121ef9965c945a9002422ef8 "https://vz-721f5576-1eb.b-cdn.net/b691fe45-7da0-4587-b8b0-a918bd04210b/playlist.m3u8" --save-name video
    Thank you, iamghost! It's work for me!


    I can found one part of keys in "stream_*.m3u8" files by "KEYID=..." but can't find second part.
    Example:
    24ed4d377b815ba6b0eec470db39a02f:54fa182f9e9e4d440 8e4bd6a4a310377
    can find: 24ed4d377b815ba6b0eec470db39a02f
    but can't find: 54fa182f9e9e4d4408e4bd6a4a310377

    Please tell me more detailed how you searched keys?
    Quote Quote  
  9. Member
    Join Date
    Dec 2021
    Location
    england
    Search Comp PM
    Originally Posted by silverrulezz View Post
    Originally Posted by iamghost View Post
    Code:
    N_m3u8DL-RE -M format=mkv --header "Referer: https://iframe.mediadelivery.net/" --key 24ed4d377b815ba6b0eec470db39a02f:54fa182f9e9e4d4408e4bd6a4a310377 --key 3754ee42388851a39e4d2d17adfc7905:1473cd625493e4f079c09902ac408c41 --key 86d2d142ff905d4fa4060aec0d262990:206f9999121ef9965c945a9002422ef8 "https://vz-721f5576-1eb.b-cdn.net/b691fe45-7da0-4587-b8b0-a918bd04210b/playlist.m3u8" --save-name video
    Thank you, iamghost! It's work for me!


    I can found one part of keys in "stream_*.m3u8" files by "KEYID=..." but can't find second part.
    Example:
    24ed4d377b815ba6b0eec470db39a02f:54fa182f9e9e4d440 8e4bd6a4a310377
    can find: 24ed4d377b815ba6b0eec470db39a02f
    but can't find: 54fa182f9e9e4d4408e4bd6a4a310377

    Please tell me more detailed how you searched keys?
    use
    https://cdrm-project.com/
    add pssh and lic url thats all you need
    Image
    [Attachment 76386 - Click to enlarge]
    Quote Quote  
  10. Originally Posted by iamghost View Post
    Originally Posted by silverrulezz View Post
    Originally Posted by iamghost View Post
    Code:
    N_m3u8DL-RE -M format=mkv --header "Referer: https://iframe.mediadelivery.net/" --key 24ed4d377b815ba6b0eec470db39a02f:54fa182f9e9e4d4408e4bd6a4a310377 --key 3754ee42388851a39e4d2d17adfc7905:1473cd625493e4f079c09902ac408c41 --key 86d2d142ff905d4fa4060aec0d262990:206f9999121ef9965c945a9002422ef8 "https://vz-721f5576-1eb.b-cdn.net/b691fe45-7da0-4587-b8b0-a918bd04210b/playlist.m3u8" --save-name video
    Thank you, iamghost! It's work for me!


    I can found one part of keys in "stream_*.m3u8" files by "KEYID=..." but can't find second part.
    Example:
    24ed4d377b815ba6b0eec470db39a02f:54fa182f9e9e4d440 8e4bd6a4a310377
    can find: 24ed4d377b815ba6b0eec470db39a02f
    but can't find: 54fa182f9e9e4d4408e4bd6a4a310377

    Please tell me more detailed how you searched keys?
    use
    https://cdrm-project.com/
    add pssh and lic url thats all you need
    Image
    [Attachment 76386 - Click to enlarge]
    Thanks for the explanation and helpful service. It works!
    Quote Quote  
  11. Anakin Skywalker
    Join Date
    Jun 2024
    Location
    Chile
    Search Comp PM
    Originally Posted by silverrulezz View Post
    Originally Posted by 2nHxWW6GkN1l916N3ayz8HQoi View Post
    yt-dlp + custom python script. More explained here: https://forum.videohelp.com/threads/411645-Trying-to-download-from-iframe-mediadelivery#post_2706217
    I downloaded it using that script and it works.

    Code:
    if __name__ == '__main__':
        video = BunnyVideoDRM(
            # insert the referer between the quotes below (address of your webpage)
            referer='https://piclub.in.ua/polza/video12',
            # paste your embed link
            embed_url='https://iframe.mediadelivery.net/embed/195537/3c65fdd1-af96-449d-8b1c-bd21cce44027',
            # you can override file name, no extension
            name="test_name",
            # you can override download path
            path=r"test_path")
        # video.session.close()
        video.download()
    Thank you! It's work for me


    2024-06-03

    Trying to use python script but I get an error on :

    search = re.search(r'contextId=(.*?)&secret=(.*?)"', embed_page)
    self.context_id, self.secret = search.group(1), search.group(2)

    search is null due to not found results (contextId and secret)
    Last edited by k3roeh; 3rd Jun 2024 at 20:14.
    Quote Quote  
  12. Member aqzs's Avatar
    Join Date
    Mar 2024
    Location
    Paris
    Search Comp PM
    Originally Posted by k3roeh View Post
    2024-06-03

    Trying to user pythong script but I get an error on :

    search = re.search(r'contextId=(.*?)&secret=(.*?)"', embed_page)
    self.context_id, self.secret = search.group(1), search.group(2)

    search is null due to not founded results (contextId and secret)
    Send the video link.
    Quote Quote  
  13. Anakin Skywalker
    Join Date
    Jun 2024
    Location
    Chile
    Search Comp PM
    Originally Posted by aqzs View Post
    Originally Posted by k3roeh View Post
    2024-06-03

    Trying to user pythong script but I get an error on :

    search = re.search(r'contextId=(.*?)&secret=(.*?)"', embed_page)
    self.context_id, self.secret = search.group(1), search.group(2)

    search is null due to not founded results (contextId and secret)
    Send the video link.


    https://iframe.mediadelivery.net/embed/146964/219ad942-8568-4512-bd86-fcff74346227
    Quote Quote  
  14. Anakin Skywalker
    Join Date
    Jun 2024
    Location
    Chile
    Search Comp PM

    Thank you!
    How did u do it?. I'm gonna download more videos but not bothering anyone else. Myself through python.
    Quote Quote  
  15. Feels Good Man 2nHxWW6GkN1l916N3ayz8HQoi's Avatar
    Join Date
    Jan 2024
    Location
    Pepe Island
    Search Comp PM
    Originally Posted by k3roeh View Post
    How did u do it?. I'm gonna download more videos but not bothering anyone else. Myself through python.
    By using the laziest possible approach. Stream detector addon --> select m3u8 (playlist in this case) --> copy as yt-dlp/n_m3udl-re/whatever command --> paste in cmd and run.

    The download command is (simplified to keep only relevant data):
    Code:
    N_m3u8DL-RE "https://vz-75184480-b28.b-cdn.net/219ad942-8568-4512-bd86-fcff74346227/playlist.m3u8" --header "Referer: https://iframe.mediadelivery.net/"
    --[----->+<]>.++++++++++++.---.--------.
    [*drm mass downloader: widefrog*]~~~[*how to make your own mass downloader: guide*]
    Quote Quote  
  16. Anakin Skywalker
    Join Date
    Jun 2024
    Location
    Chile
    Search Comp PM
    Originally Posted by 2nHxWW6GkN1l916N3ayz8HQoi View Post
    Originally Posted by k3roeh View Post
    How did u do it?. I'm gonna download more videos but not bothering anyone else. Myself through python.
    By using the laziest possible approach. Stream detector addon --> select m3u8 (playlist in this case) --> copy as yt-dlp/n_m3udl-re/whatever command --> paste in cmd and run.

    The download command is (simplified to keep only relevant data):
    Code:
    N_m3u8DL-RE "https://vz-75184480-b28.b-cdn.net/219ad942-8568-4512-bd86-fcff74346227/playlist.m3u8" --header "Referer: https://iframe.mediadelivery.net/"
    Thanks. That worked for me.
    Quote Quote  
  17. Hope this thread is still alive, I'm downloading a video using the Bunny-ytdlp script and it is successful, however, I get the lowest quality possible. Any idea how to download it with the highest resolution? (720p)
    Quote Quote  
  18. Feels Good Man 2nHxWW6GkN1l916N3ayz8HQoi's Avatar
    Join Date
    Jan 2024
    Location
    Pepe Island
    Search Comp PM
    Video URL?
    --[----->+<]>.++++++++++++.---.--------.
    [*drm mass downloader: widefrog*]~~~[*how to make your own mass downloader: guide*]
    Quote Quote  
  19. Originally Posted by 2nHxWW6GkN1l916N3ayz8HQoi View Post
    Video URL?
    Nevermind, thanks! Played with the script and got it to work. thanks again!
    Quote Quote  
  20. I'm having troubles with iframe.mediadelivery.net too.
    Can anyone help?

    Code:
    https://iframe.mediadelivery.net/8e2d2e62-8e6a-4bed-8602-f88386b572ea/playlist.drm?contextId=f0711e6e-877c-4db9-ae61-ea3e55e74997&secret=ba254219-d29e-49fc-ac69-090112218d87
    Quote Quote  
  21. Feels Good Man 2nHxWW6GkN1l916N3ayz8HQoi's Avatar
    Join Date
    Jan 2024
    Location
    Pepe Island
    Search Comp PM
    Video URL?
    --[----->+<]>.++++++++++++.---.--------.
    [*drm mass downloader: widefrog*]~~~[*how to make your own mass downloader: guide*]
    Quote Quote  
  22. OK, working now with the BunnyVideoDRM python script.

    I used wrong url, I used playlist url
    Code:
    https://iframe.mediadelivery.net/fd8525a7-6dc1-44ae-a05a-215583bc6985/playlist.drm?contextId=b95b5210-8935-418b-b714-caf165c232a6&secret=d96d0971-6485-424a-8393-b7f071abec71
    and it should be embed url
    Code:
    https://iframe.mediadelivery.net/embed/43012/fd8525a7-6dc1-44ae-a05a-215583bc6985
    I don't know if it's the iframe.mediadelivery thing or if my PC is getting slower, but after downloading, it takes a really long time to combine all parts into the final MP4, even though the file is only about 1 GB.

    I've used yt-dlp to download much larger files from other sites, and merging files was always quite fast.
    Quote Quote  



Similar Threads

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