Forum Discussion

Jarrett560's avatar
Jarrett560
Copper Contributor
May 14, 2024

How do I download video from blob link on Windows 11 ?

I'm currently facing an issue with downloading a video from a website that uses a blob URL. I noticed that the video content I'm trying to download is embedded in the webpage and is accessed via a blob link, which typically starts with 'blob:'. Unlike conventional links, I'm unable to directly save the video by right-clicking on it. I've tried several methods such as looking through the page source and inspecting elements using developer tools, but I still can't figure out how to retrieve the actual video file from the blob URL. Could anyone provide guidance or recommend tools that could help with downloading a video file from a blob link?

  • Doreinez's avatar
    Doreinez
    Copper Contributor

    To download video from blob link, first navigate to the network tab of Chrome or Edge developer tools. You can always find it, as this is the standard method. Look for the file with m3u8 extension. Alternatively, you can use the youtube-dl tool to automatically detect the m3u8 file when given a direct link to the webpage.

     

    Next, copy the link of m3u8 file to youtube-dl command-line tool (download). It can download content from various sources beyond just YouTube. It will automatically download each segment and combine them using FFmpeg, then discard unnecessary parts. The tool may support the site you're interested in downloading from without requiring step #1.

     

    If you encounter a stubborn site that generates 403 errors, try using Telerik Fiddler. This tool acts as a local proxy, capturing and saving any transmitted data, including video files. With Fiddler, you can download almost anything, except for DRM-protected content like Spotify.

  • Wonndphilh's avatar
    Wonndphilh
    Copper Contributor
    Stop using download video from blob link on Windows 11. Online video downloaders may pose security risks, as you're providing sensitive information such as the video URL to a third-party website or service.
  • Loydin2225's avatar
    Loydin2225
    Copper Contributor

    Since a blob is already a sign that content has been downloaded, there's no need to re-download it. Unlike text data, blobs are binary data, which means they take up significantly less space. Additionally, since the data has already been downloaded, the browser doesn't need to send multiple requests to the originating server to render the content. This reduces the number of requests and improves overall performance.

     

    You can use this JS code to download video from blog link url:

     

     

    function onChange() {
      var file = document.getElementById('fileItem').files[0];
      var vid = document.getElementsByTagName('video')[0];
      var url = URL.createObjectURL(file);
    
      document.getElementById('blob').innerHTML = "Blob URL is:<br>".concat(url); 
      document.getElementById('fileItem').type = "hidden";
    
      vid.src=url;
      vid.load();
      vid.onloadeddata = function() {
        vid.play();
      }
    }

     

Resources