Live Stream Downloader Detect and download M3U8 streams into your local disk
Support Development
PayPal ● 
Bitcoin Address: bc1qh7juzrxrawpr65elm4qs285m5rdhnhgsn7h2jf
 ● 
Lightning Address: [email protected]
Your Input Matters
Review
Advertisement
Screenshot
The "Live Stream Downloader" extension lets users download live streams from websites that use HLS format by identifying and parsing M3U8 manifest requests. Users can select between different stream qualities, and the extension uses multiple threads to improve stability and speed while downloading large files directly to the user's disk, minimizing memory usage. This extension can also be used as a general-purpose, high-speed download manager for all types of files and allows users to start playing the media while the file is being downloaded.

Features

FAQs

  1. What is the "Live Stream Downloader" extension and how does it work?

    The "Live Stream Downloader" extension allows users to download live streams from websites that use HLS format by capturing the manifest file and offering the user to choose quality from the options provided by the server. It downloads with up to 5 threads simultaneously to increase speed and stability. The extension uses multiple threads if the server supports range downloading in bytes format. This extension writes segments directly to the user disk to minimize memory usage (in the older versions, the segments were stored in the internal IndexedDB storage and combined once the download was complete.). The user needs to refresh a tab that plays in HLS once after installation for the extension to detect the streams, and the toolbar button's badge counter displays the number of detected media links. By clicking the toolbar button, a popup appears for the user to select video quality, and the downloading will begin. This download dialog must remain open until the job is completed.

  2. What's new in this version?

    Please check the Logs section.

  3. How can I test this extension?

    After installing the extension, go to the videojs.com website and wait for the toolbar button's badge to display a counter when media is detected. Click the toolbar button once to view the list of available video qualities and select one stream to download. Keep in mind in the older versions it may take a few seconds to see the actual file on the local disk after the stream has been downloaded since the extension needs to merge all the downloaded segments.

    You can also visit the webbrowsertools.com website to test the extension's download capabilities on different media formats, including various types of HLS streams.

  4. How does the extension identify live streams?

    This extension uses a network observer that specifically targets media types including the M3U8 format. Upon detecting a new M3U8 stream, the extension downloads it, extracts the manifest object, and analyzes it to identify supported playlists. In instances where the manifest file only provides segments without playlists, the extension allows the user to download the HLS stream but without information on the stream's quality. It's worth noting that the extension only offers downloads related to the current tab to avoid confusion with streams from other tabs.

  5. How do I cancel a download?

    [new version] Close the download dialog

    [old version] You have three options to cancel a download:

    1. Click the toolbar button while the tab associated with the download is open.
    2. Refresh the tab associated with the download.
    3. Close the tab associated with the download.

    In the old version, you needed to keep the tab associated with the download open until it is complete for the extension to properly download the stream.

  6. Can I download any file using this extension? Is there any advantage of using it over the default download manager?

    You can download any file using this extension by copying the link, opening the interface, and pasting it as a new job with Ctrl + V or Command + V.

    Because the extension supports resuming broken network connections and uses multiple threads to download files, it is recommended to use it over the default download manager when downloading large files or when your network is unstable.

  7. Is it possible to download a file that requires the "referer" header using this extension?

    Yes, you can do that by opening the "referer" page in a browser tab and then opening the extension's interface while that tab is active. You will see the "referer" header in the footer section of the extension's downloader dialog.

  8. I am trying to download a large file using this extension. Is it possible to keep my computer from going to sleep during the download?

    As of version 0.2.7, you can prevent your computer from going to sleep during a download by checking the option from the settings panel or by pressing Ctrl + P or Command + P on the extension's interface. You will need to run this shortcut once and reopen the download interface. This grants the extension the necessary permissions to manage your computer's sleep settings.

  9. I downloaded a media file with the extension, and it appears to be downloaded correctly, but my media player cannot play it. Is there a way to fix the file?

    The M3U8 file may be missing some of the first bytes of the stream, known as metadata segments. This problem can cause issues when you try to play the video using a native media player. To fix this, you can use the website webbrowsertools.com/repair-video/ or the command-line tool FFmpeg. For FFmpeg, you can use the command:

    ffmpeg -err_detect ignore_err -i video.mkv -c copy fixed.mkv
    This command attempts to decode the original stream and copies the valid segments to the destination file. Here is an explanation of each of the arguments: * -err_detect ignore_err: This flag tells FFmpeg to ignore errors that occur while decoding the original video file. * -i video.mkv: This flag is used to specify the input file. In this case, the input file is "video.mkv" * -c copy: This flag tells FFmpeg to copy the codecs (compression/decompression algorithms) from the input file to the output file. * fixed.mkv: This is the name of the output file. In this case, the output file is named "fixed.mkv".

  10. Is it possible to change the file naming format of the extension?

    This extension uses a filename mask to construct the name and extension of all files. Supported keywords include [meta.name] (the name and extension extracted from the URL or its headers), [title] (page title), and [hostname] (page hostname). You can also add your own prefix to the name, for example "Download by LSD - [meta.name]".

    Starting with version 0.4.3, you can extract a portion of a webpage and incorporate it into file naming. A new keyword has been introduced: [q:query|method|default-value]. The "query" portion is passed to the document.querySelector function, which finds and returns an HTML element on the page based on the provided query. By default, the "method" applied to the selected element is "textContent," which retrieves the element's text content. However, for input elements, you can use "value" instead, which is equivalent to element.value. If the specified method does not yield any value, the extension will attempt to use element.getAttribute(method) as an alternative. If no result is obtained, the "default-value" provided in the keyword will be used as a replacement for the keyword itself.

  11. Is it possible to set a limit on the download speed of this extension?

    There is no specific feature built-in to the extension to limit download speed, however, you can decrease the number of simultaneous threads as a workaround. Additionally, some Chromium-based browsers have built-in tools to reduce the network load of a browser window or web application window. You can refer to the blog post How Can I Limit Download Speed On Google Chrome for more information on this topic.

  12. What is the purpose of the "Improved Media Detection" option?

    This option improves the extension's ability to detect media in browser tabs by installing an additional network observer that monitors for links with video or audio mime types. However, this process can be resource-intensive, so I recommend only using it if you are experiencing issues with the media detection feature. You can temporarily enable this option, but make sure to turn it off again once the media has been detected.

  13. What is the purpose of the "Do not Download Duplicated Segments" option?

    This option determines whether the extension saves the bytes downloaded for each unfinished segment or not. When the option is turned off (the previous behavior), the extension restarts the segment and redownloads all bytes of the segment, overwriting already downloaded parts. With this option enabled, the extension skips previously downloaded segments and begins with the remaining part. This typically does not cause any issues, except when the server returns invalid content when an error occurs. In this case, the extension writes the invalid part to the disk and does not overwrite it.

  14. What does it mean when I receive the message "This M3U8 stream includes multiple timelines"? How should I proceed?

    The M3U8 specification allows multiple timelines within a single stream to enable sequential playback of different streams even with different media codecs. This is often used by websites to insert advertisements during a movie. The message indicates that multiple timelines are present in the M3U8 stream.

    You have several options:

    1. Download a Single Timeline: Identify and download the main timeline, typically the one with more segments, as advertisements usually have fewer segments.
    2. Download All Timelines Separately: Instruct the extension to download each timeline as a separate file. You will need to grant the extension access to a local directory to save these files.
    3. Combine Timelines: Ignore the timeline field and download the entire stream as a single track. Be aware that this combined track might not be playable if each timeline has its own media headers. In such cases, only the first timeline might play while the rest are ignored.

  15. Is there a way to clear the video list after downloading media?

    The extension saves download links inside the webpage. Once your download begins, you have two options to clear the detected media links: Close the source tab, or right-click the action button and use the context menu to clear the list.

Matched Content

Reviews

Please keep reviews clean, avoid improper language, and do not post any personal information. Also, please consider sharing your valuable input on the official store.

What's new in this version

Version--
Published--/--/--
Change Logs:
    Last 10 commits on GitHub
    Hover over a node to see more details

    Need help?

    If you have questions about the extension, or ideas on how to improve it, please post them on the  support site. Don't forget to search through the bug reports first as most likely your question/bug report has already been reported or there is a workaround posted for it.

    Open IssuesIssuesForks

    Permissions are explained

    PermissionDescription
    storageto keep the internal preferences of the extension
    webRequestto be able to monitor web request for M3U8 manifest files
    *://*/*.m3u8manifest file for HTTP live streaming
    *://*/*.m3u8*manifest file for HTTP live streaming
    downloadsto save downloaded stream to the local disk
    webNavigationto update the badge counter and to abort active job when tab is closed or refreshed
    notificationsto show desktop notifications in case a job is aborted

    Recent Blog Posts