youtube-dl integration

This script allows you to pull down the highest quality version of a YouTube video as an MP4 file, letting you avoid having to use Flash Player.

To use this script as is, you will need an youtube-dl and ratpoison (for completion notifications), though changes can be made to fit your personal setup. Feel free to add any mods to this page!

Script

#!/bin/dash
cd ~/Downloads                              # change this line to determine where the file is saved
youtube-dl -b "$1"
ratpoison -c "echo [ytdl-uzbl] $1 done."    # change this line to change how you are notified of a
                                            # completed download

Binding

Add the following line to your uzbl config file:

bind    ytdl      = sh "~/bin/ytdl-uzbl.sh $6"
 
youtube-dl.txt · Last modified: 2010/01/10 00:28 by mason.larobina
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki