media-cache by Dinoosauro
Cache the video/audio content displayed by various websites, and download it
You'll need Firefox to use this extension
Extension Metadata
About this extension
media-cache allows you to cache and later download the content that is streamed using the MediaSource API.
Adding a website
To add a website to cache, click on the extension and write the hostname. Note that you need to follow a specific syntax to add the URL. For example:
Downloading the files:
After playing the resource, you can choose from a Select in the popup the page whose video/audio content you want to download. Click on the "Download" button to download them. While the download of the videos should automatically start when the page is closed, or when the video ends playing, it might not always work, so it's suggested to download them directly from the extension popup.
Open Source and disclaimer:
This extension is open source. You can find the source code at: https://github.com/Dinoosauro/media-cache/
Please use this extension only if you've the authorization from the original content owner to do so. I don't claim any responsibilties at all for the usage of this extension and the eventual consequences.
Adding a website
To add a website to cache, click on the extension and write the hostname. Note that you need to follow a specific syntax to add the URL. For example:
- *://*.example.com/*: both for HTTP and HTTPS, cache every video that is played from the "example.com" domain
- https://ex.example.com/*: cache only videos played from the "ex.example.com" domain
- https://example.com/page: cache only videos that are played from that specific page
Downloading the files:
After playing the resource, you can choose from a Select in the popup the page whose video/audio content you want to download. Click on the "Download" button to download them. While the download of the videos should automatically start when the page is closed, or when the video ends playing, it might not always work, so it's suggested to download them directly from the extension popup.
Open Source and disclaimer:
This extension is open source. You can find the source code at: https://github.com/Dinoosauro/media-cache/
Please use this extension only if you've the authorization from the original content owner to do so. I don't claim any responsibilties at all for the usage of this extension and the eventual consequences.
Rate your experience
PermissionsLearn more
This add-on needs to:
- Access browser tabs
This add-on may also ask to:
- Access your data for all websites
More information
- Version
- 1.1.0
- Size
- 28.71 KB
- Last updated
- a day ago (Dec 26, 2024)
- Related Categories
- License
- MIT License
- Version History
Add to collection
Release notes for 1.1.0
- When using the File System API, the already-cached files will be written to the disk and, if possible, the next files. This is done to avoid a SecurityException that might be triggered if a source is created without user action
- When choosing a folder using the File System API, the script will automatically create the new file and write the cached chunks to the file system
- Now, only one file at a time will be created on the user's drive. This should help fixing some bugs (even if probably it wasn't related, but better safe than sorry). If more than one file needs to be created, they'll be created later
- Before creating the file on the system, the title must be marked as final. This helps ensuring the file has a readable name there
- It's now possible to disable the download of the content when the video ends, or the automatic closure of the stream while using the File System API
- The content title is now shown also in the extension UI
- Get title from YT Mobile: updated the YouTube selector for mobile website
- Update the title if not available: if the website is YouTube or Twitch and the script cannot find the suggested title, it'll retry after 1500 ms
- When choosing a folder using the File System API, the script will automatically create the new file and write the cached chunks to the file system
- Now, only one file at a time will be created on the user's drive. This should help fixing some bugs (even if probably it wasn't related, but better safe than sorry). If more than one file needs to be created, they'll be created later
- Before creating the file on the system, the title must be marked as final. This helps ensuring the file has a readable name there
- It's now possible to disable the download of the content when the video ends, or the automatic closure of the stream while using the File System API
- The content title is now shown also in the extension UI
- Get title from YT Mobile: updated the YouTube selector for mobile website
- Update the title if not available: if the website is YouTube or Twitch and the script cannot find the suggested title, it'll retry after 1500 ms
More extensions by Dinoosauro
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet