descriptionYouTubeCgi is a simple tool to download videos from YouTube
last changeMon, 3 Feb 2020 14:42:05 +0000 (01:42 +1100)
readme

YouTubeCgi

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.

Requirements

CLI Usage

./youtube.cgi 'https://www.youtube.com/watch?v=QH2-TGUlwu4'

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:

javascript:(function(){window.location='https://example.com/path/to/youtube.cgi?url='+escape(location);})()

Bug reports

Please raise issues on the Bitbucket project.

shortlog
2020-02-03 James BuntonFix for Google changes master
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
2015-11-24 James Buntonchanged script prefix/suffix
2015-10-08 James Buntonadded window.location.hash
...
heads
4 months ago master