About
SaveTube is a JavaScript application that allows downloading videos from video sharing web sites by adding on the bottom right of the page window a menu with all formats and definitions of the video. Below are all supported sites. There is an extra script that gets all video streams from an web page.


Sites
The main video sharing web sites on which you can watch videos using SaveTube.

Firefox
To work in Firefox based browsers the script must be installed with one of Greasemonkey, Tampermonkey or Violentmonkey add-ons from Mozilla Add-ons. Or install the SaveTube add-on from Mozilla Add-ons or manually download and install it from here.

Chromium
To work in Chromium based browsers the script must be saved and dragged & dropped in the extensions page or installed with the Tampermonkey or Violentmonkey extension from Chrome Web Store. Or install the SaveTube extension from Chrome Web Store or manually download and install it from here.

Epiphany
To work in Epiphany (Gnome Web) it is required to install the Greasemonkey extension from Epiphany extensions.

Midori
To work in Midori it is required to enable the User Addons extension.

QupZilla
To work in QupZilla a simple click on the script link should be enough.

Opera
To work in Opera the script must be saved and dragged & dropped in the extensions page or installed with the Tampermonkey or Violentmonkey extension from Opera Add-ons. Or manually download and install the SaveTube extension from here.

Maxthon
To work in Maxthon it is require to install the SaveTube extension or to install the script in the Violentmonkey extension.

Safari
To work in Safari it is required to install one of GreaseKit, NinjaKit or Tampermonkey.



Linux
How to download DASH videos on Linux and BSD platforms:

1 Create the savetube script, bash example using ffmpeg for audio and video streams multiplexing

savetube.sh
#! /bin/bash

d="/home/Video/YouTube"
t="$(echo "$1" | awk -F '=SAVETUBE=' '{print $1}' | sed -e "s/savetube://" | sed -e "s/%20/ /g" -e "s/ +$//" -e "s/^ +//")"
v="$(echo "$1" | awk -F '=SAVETUBE=' '{print $2}')"
a="$(echo "$1" | awk -F '=SAVETUBE=' '{print $3}')"
f="$(echo "$v" | grep -q "video/mp4" && echo "mp4" || echo "webm")"
ffmpeg -i "$v" -i "$a" -c:v copy -c:a copy "$d/$t.$f"


2 Create the savetube protocol file in ~/.local/share/applications

savetube.desktop
[Desktop Entry]
Name=SaveTube Protocol
Exec=/path/to/savetube.sh %u
Type=Application
Terminal=false
MimeType=x-scheme-handler/savetube


Enable protocol:
xdg-mime default savetube.desktop x-scheme-handler/savetube


Test:
xdg-open savetube:http://download.blender.org/peach/bigbuckbunny_movies/BigBuckBunny_320x180.mp4


3 Activate the protocol

Click here to associate the script to the protocol