Download YouTube Videos
This mode is used to download videos from YouTube.
Network Proxy Address: As is well known, YouTube cannot be accessed in China, so you need to fill in the network proxy address.
Video Playback Page URL: If you need to download a video, open the video playback from the YouTube page and copy the playback address here.
Select Save Directory: Where to save after downloading
Use VID as Video Name: The default video name is the video title, which is very long and has messy symbols. It may cause errors when processing on Windows, so you can select this option to make the name short and prevent errors.
Note:
- The actual download is to download the silent video screen file and the audio file separately, and then automatically merge them after the download is complete. Please wait for the merge to complete or after the download is successful before opening the video file, otherwise the merge may fail.
- If you install from source code, it may prompt a failure because there is a missing exe file. You can download the file according to the operating system and copy it to the ffmpeg folder of this software.
Win Download: https://github.com/jianchang512/pyvideotrans/releases/download/v2.19/ytwin32.exe
Mac Download: https://github.com/jianchang512/pyvideotrans/releases/download/v2.19/ytdarwin
Linux Download: https://github.com/jianchang512/pyvideotrans/releases/download/v2.19/ytlinux
There are many ways to download videos from YouTube, whether in command line form or web UI. The video translation software also has a simple built-in download function. Open Menu--Tools/Options--Download YouTube Videos to easily download.
The download interface is as shown in the figure below
Fill in the network proxy and video playback page address to click Download.
Frequently Encountered Errors Requiring Login Verification
As shown in the figure, these types of errors one is that downloading too frequently may be subject to risk control, and two is that the airport IP you are using is contaminated and is on the YouTube blacklist.
Solution:
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, and put the file in the directory where the video translation software sp.exe
is located.
Of course, this method does not guarantee 100% successful download, but it can significantly improve the download success rate and reduce the occurrence of errors
How to Get cookies.txt
- First, you need to install the Chrome browser. If you haven't installed it, you can download it from this address https://www.google.cn/chrome
- Install the browser extension
# Get cookies.txt LOCALLY
, installation addresshttps://chromewebstore.google.com/detail/get-cookiestxt-locally/cclelndahbckbenkjhflpdbgdldlbecc
Open the youtube.com website and log in
When the current page is in the youtube.com website, click the browser extension icon you just installed
Click Export
again in the pop-up window, 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 it.
Of course, due to YouTube's risk control reasons, if you want to completely improve the success rate, you still need to choose some clean VPN nodes