You-get is a Python 3-based download tool. With You-get, you can easily download videos, pictures, and music on the web.
Project home: Https://github.com/soimort/you-get
You-get Home: https://you-get.org/
You-get Original Chinese Description: https://github.com/soimort/you-get/wiki/Chinese/
Soimort
You-get
Python is a cross-platform programming language that can be used in both Liunx and Mac OS, which shows that Windows only is used.
0x01 use you-get download video Step1 download and install Python 3
1. Visit the official Python website to download the corresponding version of Python,you-get based on Python 3, we recommend that you download the Python 3.5.1.
2. Install Python 3.5.1, and note the check boxAdd Python 3.5 to PATH
Check
3. Press the Win+R
key to open the run, enter cmd
, and then enter python
and return to execute, if the following interface appears, the installation is successful.
Installation Successful STEP2 installation You-get
1. Open cmd
, enter the command and execute
install you-get
2. Enter a command to detect if the You-get is successfully installed
you-get
You-get installation Successful Step3 start the download.
Open cmd
Input command
[视频地址]
e.g. download a video of the American film
Enter the following command
you-get http://www.meipai.com/media/454570774
Click on the top left corner to quickly paste
The file is saved in the C:\Users\用户名
directory, if you want to customize the save location, use the following command
e.g. download a video of a beautiful shot and save it inE:\Desktop
E:/Desktop http://www.meipai.com/media/454570774
0x02 You-get Other uses of video
You-get only used to download video is a bit overqualified, the author also gave some other uses of you-get, here are a few highlights.
1. Select video download format and definition
Usually the format of Web page video is .flv
, but some sites will provide several video formats, we can use You-get download these videos.
e.g. download a youtube video
1. View the definition and format of the current video
you-get -i http://v.youku.com/v_show/id_XMTQ2NzQyMjY1Ng.html
Video available in three formats and three different resolutions
2. Select the definition and format you want to download
you-get --format=hd2 http://v.youku.com/v_show/id_XMTQ2NzQyMjY1Ng.html
Download successful 2. Play streaming video in the local player
Flash is sniffed out because of high CPU usage, and you-get can play web video directly in the local player. Similar functions are also livestreamer this magical tool.
e.g. play a section of the following love art video in Potplayer
(video link: http://www.iqiyi.com/v_19rrgzy5ls.html)
1. Open the Potplayer installation directory in Resource Manager
2. Press Shift
and hold and right-click to open the command window here
3. Enter the You-get play command below to
you-get -p PotPlayerMini64.exe http://v.youku.com/v_show/id_XMTY0MTA4ODM1Mg==.html
(Note that the case of the file name of the Potpalyer executable will cause you-get error if the Potplayer playback fails, try using VLC for playback)
Playback success 3. Pause Download and Continue download
1. Pause download: As with Linux, press the Ctrl+C
can interrupt command, the download directory will be saved with an .download
extension of the cache file.
2. Continue the download: Re-execute the download task, if the download directory has the last download saved cache file, continue the last download progress.
3. Force a re-download (even if the download is complete):
you-get -f http://www.meipai.com/media/437971164
4. Download all videos from the video list
Youku and other websites provide a list of videos, and you-get can be downloaded in bulk via a video list.
e.g. download a Youku video album
you-get http://www.youku.com/playlist_show/id_25917721.html
Download successful 5. Download the Bilibili video's bullet screen
See Bilibili No play screen simply lost a great pleasure in life, You-get also provides the screen download function.
1. Enter the command to download Bilibili video
2. After the download is complete .xml
, the format of the screen will be downloaded automatically.
Bilibili Video and bullet screen download
3. .xml
convert format to format using Danmu2ass .ass
4. Open the player and .ass
load the file
Potplayer Loading bullet screen 0x03 you-get download image
You-get not only supports video downloads, but also supports image downloads, supported sites are listed on their home page, and some sites support bulk downloads.
1. Visit the website
2. Click on the image/post to enter the image/post details
3. Copy the address to you-get download
Shows a few examples of
Twitter
Imgur
Flickr
Pinterest0x04 some of the other
1. Use You-get to recommend installing FFmpeg or LIBAV
4. Some websites may not be accessible in mainland China, if you want to visit these sites, you can ask the magic conch.
List of supported downloads links:
Https://github.com/soimort/you-get#supported-sites
you-get--Python3-based media download tool