<< DiscussionsReply

[Script] Download video from YouTube

PabloMartinez's profile on WallpaperFusion.com
So, we're going to need youtube-dl. The latest version can be downloaded here: https://github.com/rg3/youtube-dl/releases/latest, or if you use python, you can get youtube-dl using pip pip install --upgrade youtube-dl.
If you just want to download the video in the 720p default format, all you have to do is set your path to the youtube-dl.exe and directory to save files.
If you want a different quality of audio or video, you should read and understand the format of the arguments. You can find the readme here: https://github.com/rg3/youtube-dl/blob/master/README.md, you'll also need ffmpeg to merge video and audio files. ffmpeg can be found here: https://ffmpeg.zeranoe.com/builds/. Copy the ffmpeg.exe from the bin directory to the directory where youtube-dl.exe is stored.

I tried to comment on all the code for those who don't understand C#, and I hope the comments are clear.


Apr 4, 2017 (modified Apr 4, 2017)  • #1
Was this helpful?    
<< DiscussionsReply