I tried using 'You-Get', an open source tool that allows you to download videos, images, and music from many sites such as YouTube and X for free

You-Get is a simple command line tool that allows you to download video, image, and music files from websites. I tried downloading videos from YouTube and X to see how simple it is to use.
You-Get
You-Get requires Python and FFmpeg. As long as both are supported, it doesn't matter what OS you're using, so I'll be reviewing it on a Windows PC.
First, install Python. Open the Python download page and click 'Download Python 3.XXX.XXX'.

Double-click the downloaded installer to run it.

Check 'Add python.exe to PATH' and click 'Install Now'.

After a while, the installation will be completed. If 'Disable path length limit' is displayed, click it.

When the 'Disable path length limit' message disappears, click 'Close'. This completes the Python setup.
Next, install FFmpeg. Search for 'powershell' in the Start menu, and click 'Run as administrator' from 'Windows PowerShell'.

Copy and paste the following command and press Enter.
[code]winget install ffmpeg[/code]
After the installation is complete, you will be prompted to restart the shell, so close PowerShell and then start it again using the steps above.

Enter the command below to install You-Get.
[code]pip install you-get[/code]
When the message 'Successfully installed' appears, the installation is complete. Let's try downloading 'Me at the zoo', the first video uploaded to YouTube.
Me at the zoo - YouTube
First, move to the folder where you want to save the video using the following command.
[code]cd [path to save to][/code]
To download a video using You-Get, just enter the command in the format 'you-get [URL]'. Since the YouTube URL contains the metacharacter '?', I enclosed it in single quotes and entered it as follows:
[code]you-get 'https://www.youtube.com/watch?v=jNQXAC9IVRw'[/code]
The download is completed in an instant.

If you look at the folder, you will see that not only the video itself but also the subtitle data has been downloaded.

If you want to choose a resolution or codec, you can add the '-i' option to the command and a list of options will appear. For example, if you want to see a list of downloadable formats for 'Me at the zoo,' enter the following command.
[code]you-get -i 'https://www.youtube.com/watch?v=jNQXAC9IVRw'[/code]
Select the one you want to download from the list and enter the command as instructed. For example, to download a video with a codec of 'mp4' and a resolution of '240p', enter 'you-get --itag=133 'https://www.youtube.com/watch?v=jNQXAC9IVRw''.

Next, I will try to download a video from X. This time, I will download a video embedded in the following tweet.
Mechazilla has caught the Super Heavy booster! pic.twitter.com/6R5YatSVJX
— SpaceX (@SpaceX) October 13, 2024
Just like with YouTube, you just need to add a URL after the “you-get” command. This time, I entered the following command.
[code]you-get https://x.com/SpaceX/status/1845442658397049011[/code]
Download completed at lightning speed.

I tried playing it just to be sure, and it played without any problems.

You-Get supports many sites in addition to major sites such as YouTube, X, and Instagram. At the time of writing, the supported sites were as follows. Note that the items that were in bold in
the You-Get repository are posted in bold.
Related Posts: