Skip to content
This repository has been archived by the owner on Jul 12, 2020. It is now read-only.

Downloading a Video

Ben edited this page Feb 16, 2017 · 1 revision

Method One:

You can manually visit a web form (the index.php file), enter a YouTube video id, and get in return a list of links showing the various formats in which that video can be downloaded. You can simply choose "save link as" or the equivalent to downloading the file.

Method Two:

Second, you can directly target the getvideo.php script, passing in a videoID and preferred format, and you will get redirected to the file itself.

http://example.com/yt/getvideo.mp4?videoid=GkvvH8pBoTg&format=ipad

Potential formats:

  • best = just give me the largest file / best quality
  • free = give the largest version including WebM, lower priority to FLV
  • ipad = ignore WebM and FLV, look for best MP4 file

You can also pass in a specific format number if you know it.

Format Numbers.

The known download formats are as follows:

Code 17: .3gpp, 176 x 144

Code 36: .3gpp, 320 x 180

Code 18: .mp4, 640 x 360

Code 43: .webm, 640 x 360

Code 22: .mp4, 1280 x 720

Clone this wiki locally