descriptionYouTubeCgi is a simple tool to download videos from YouTube
last changeSat, 15 Aug 2020 13:16:25 +0000 (23:16 +1000)


YouTubeCgi is a simple tool to download videos from YouTube. It is able to fetch normal videos and the protected stuff by doing some Javascript magic.


CLI Usage

./youtube.cgi ''

CGI Usage

You must install the CGI script on your web server. Ensure that you have the dependencies set up correctly and that the httpd/www-data user can access them. It may help to switch to that user and try to run the script in CLI mode.

You can then visit the CGI script and paste in a URL to download videos. Or you can use a bookmarklet:


Bug reports

Please raise issues on the Bitbucket project.

2020-08-15 James BuntonFix for Google changes master
2020-06-03 James BuntonFix for Google changes
2020-02-03 James BuntonFix for Google changes
2019-08-05 James BuntonFix for Google metadata changes to find title
2019-06-13 James BuntonFixed for Google changes
2019-01-20 James BuntonDon't try to download from non-YouTube sites
2019-01-19 James BuntonFixes for Google changes
2018-11-10 James BuntonFix for YouTube changes
2018-04-11 James BuntonFix for Google change
2017-02-22 James BuntonPort to Python3, run with only Python+Node (no libs)
2017-02-01 James BuntonFixed to handle YouTube JS changes
2016-12-15 James BuntonFix to handle function call in expression instead of...
2016-07-31 James BuntonREADME tweaks
2016-07-31 James BuntonREADME
2016-06-24 James Buntonfixed again because of google changes
2016-02-12 James Buntonfixes to work with recent changes
5 weeks ago master