Download Youtube Videos
This mode is used to download videos from Youtube.
Network Proxy Address: As we all know, Youtube is not accessible in China, so you need to fill in the network proxy address.
Video Playback Page URL: If you want to download a video, open the video playback page on the Youtube website and copy the playback address here.
Select Save Directory: Where to save the downloaded video.
Use VID as Video Name: The default video name is the video title, which is very long and contains messy symbols. This may cause errors when processing on Windows. Therefore, you can select this option to make the name shorter and prevent errors.
Note:
The actual download involves downloading the silent video file and the audio file separately, and then automatically merging them after the download is complete. Please wait for the merge to complete or the download success message to appear before opening the video file, otherwise the merge may fail.
If you are installing from source code, you may get a failure message because an exe file is missing. You can download the file according to your operating system and copy it to the ffmpeg folder of this software. Address: https://github.com/jianchang512/pyvideotrans/releases/v2.19/
Win download
ytwin32.exe
Mac download
ytdarwin
Linux download
ytlinux
There are many ways to download videos from Youtube, whether in command-line form or with a web UI. The video translation software also has a built-in simple download function. Open Menu -- Tools/Options -- Download Youtube Video to easily download.
The download interface is as follows:
Fill in the network proxy and video playback page address, and you can click Download.
Frequently Encountered Login Verification Errors
As shown in the figure, these types of errors firstly may be due to frequent downloads being subject to risk control, and secondly may be due to the airport IP you are using being polluted and already on the Youtube blacklist.
Solutions:
One: Switch VPN nodes. You may need to switch multiple nodes to find a usable IP.
Two: Use the Chrome browser to log in to Youtube normally first, and then copy the cookie information to the www.youtube.com_cookies.txt
file. Put the file in the same directory as the video translation software sp.exe
.
Of course, this method does not guarantee 100% download success, but it can significantly improve the download success rate and reduce errors.
How to Get cookies.txt
- First, you need to install the Chrome browser. If you don't have it installed, you can download it from this address: https://www.google.cn/chrome
- Install the browser extension
# Get cookies.txt LOCALLY
, installation address:https://chromewebstore.google.com/detail/get-cookiestxt-locally/cclelndahbckbenkjhflpdbgdldlbecc
Open the youtube.com website and log in.
When the current page is on the youtube.com website, click the browser extension icon you just installed.
In the pop-up window, click Export
again, and the cookies.txt file will be downloaded automatically.
The downloaded name is www.youtube.com_cookies.txt
, copy it to the directory where sp.exe is located.
- Try downloading again.
What if it still fails?
After successfully downloading a few videos, you may encounter download failures again. At this time, refresh the Youtube page and re-download cookies.txt to overwrite the previous one.
Of course, due to Youtube's risk control, if you want to completely improve the success rate, you still need to choose some clean VPN nodes.