Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use yo-get to download videos, websites, videos or other

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article will explain in detail how to use yo-get to download videos or other video sites. The editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.

Use yo-get to download videos or other articles / ghosts from video websites

Catalogue

Use yo-get to download video website videos or other. 1

Preface. 1

1.1 download, install. 1

Rely on. 1

Exe installation. 1

Pip installation. 1

Antigen installation. 1

Git clone source code. 1

Homebrew installation. 1

1.2 basic use. 1

Download the video website video. 1

Download any specified file. 1

Search and download videos using google. 1

Interrupt and continue. 1

Customize the download file path and name. 1

Set up proxy. 1

Load cookie. one

1.3 Summary. 1

Preface many times it is not so easy to watch videos online anytime and anywhere, especially YouTube videos (you know), so it is necessary to download good videos. Today, I will introduce to you a tool for downloading videos from video stations-yo-get.

Official website: https://you-get.org/.

1.1 download and install dependent on Python 3

FFmpeg (recommended) or Libav

(optional) RTMPDump

Exe install on windows the most convenient way to use the software is to download the exe file, find the release link at the tool's github address: https://github.com/soimort/you-get, and the current link is https://github.com/soimort/you-get/releases/tag/v0.4.486.

Download win32.exe. After the download is complete, just run it on the command line.

Cross-platform installation and use may be more popular with most programmers. Here are several ways to install and use them.

Pip installation if you have Python3 installed on your computer, you can install it using pip.

For Antigen installation, add the following code to your .zshrc file:

The Git clone source code first downloads all source files from github.

$git clone git://github.com/soimort/you-get.git

Then run. / setup.py install to install.

Homebrew installs this method only for Mac and runs the following command:

$brew install you-get

1.2 after the basic use download video website video installation is successful, it is time to show your skills. I saw a set of "Hacking with Python" videos on YouTube, so let's experiment with it. Copy the URL of the video:

Https://www.youtube.com/watch?v=UVac47TtghQ&list=PL1A2CSdiySGLtKwqBnqj9BON6QQjWkP4n&index=1 .

Then execute on the command line:

You-get-0.4.486-win32.exe-I https://www.youtube.com/watch?v=UVac47TtghQ&list=PL1A2CSdiySGLtKwqBnqj9BON6QQjWkP4n&index=1

Use the-I parameter to list detailed video download information for further selection.

As you can see from the picture above, the program lists the download options of different formats and quality, and gives the download method. For example, when I download a video in mp4 format and 1920 / 1080, the command I should enter is:

D:\ tools\ Network Toolkit > you-get-0.4.486-win32.exe-- itag=137 https://www.youtube.com/watch?v=UVac47TtghQ&list=PL1A2CSdiySGLtKwqBnqj9BON6QQjWkP4n&index=1

In the process of downloading videos, you-get relies on ffmpeg to merge or transcode the downloaded videos. Many video stations load videos in multiple segments. If you don't want the program to merge videos automatically, you can add the-no-merge/-n parameter to control it.

All right, successfully download a video:

Does it feel good to download any specified files? Of course, except for video resources, if we give a file url, it can help us download it.

If we give a random URL,you-get, we will analyze the downloadable resources of the page as a whole, but this feature is not perfect yet.

Use google to search and download videos. If the parameter passed in is not url,you-get, goolge will be used to search for resources and prompt for download options. Do not give enough resources list for users to choose from, I feel a little chicken ribs.

During the interruption and continuation of the download, you can interrupt the download using Ctrl+C, and the program will save a temporary file, and the next time you download the file with the same download parameters, it will continue to download from the interrupted location.

If you want to force a redownload, you can use the-- force/-f parameter.

Customize the download file path and name using the-- output-dir/-o parameter to specify the path to save the file, and the-- output-filename/-O parameter to specify the saved file name. For example:

$you-get-o ~ / Videos-O zoo.webm 'https://www.youtube.com/watch?v=jNQXAC9IVRw'

Set the proxy to use the-- http-proxy/-x parameter to specify the http proxy for you-get, and you-get uses the system proxy by default. If you don't want you-get to use any proxies, you can disable it using the-- no-proxy parameter.

To load cookie, many websites need to log in to access video content, such as many online education sites. At this point, we need to submit cookie information. You-get supports the use of-- cookies/-c to submit cookie data. Cookie data supports two formats:

Cookies.sqlite and cookies.txt.

Summary you-get is written in python, learning python programming friends can look at the source code, learn web content analysis and download methods, but also contribute code to it, making this tool more powerful.

The list of sites that have been tested, of course, is not all, you can explore it yourself.

Site

URL

Videos?

Images?

Audios?

YouTube

Https://www.youtube.com/

Twitter

Https://twitter.com/

VK

Http://vk.com/

Vine

Https://vine.co/

Vimeo

Https://vimeo.com/

Vidto

Http://vidto.me/

Videomega

Http://videomega.tv/

Veoh

Http://www.veoh.com/

Tumblr

Https://www.tumblr.com/

TED

Http://www.ted.com/

SoundCloud

Https://soundcloud.com/

Pinterest

Https://www.pinterest.com/

MusicPlayOn

Http://en.musicplayon.com/

MTV81

Http://www.mtv81.com/

Mixcloud

Https://www.mixcloud.com/

Metacafe

Http://www.metacafe.com/

Magisto

Http://www.magisto.com/

Khan Academy

Https://www.khanacademy.org/

JPopsuki TV

Http://www.jpopsuki.tv/

Internet Archive

Https://archive.org/

Instagram

Https://instagram.com/

InfoQ

Http://www.infoq.com/presentations/

Imgur

Http://imgur.com/

Heavy Music Archive

Http://www.heavy-music.ru/

Google+

Https://plus.google.com/

Freesound

Http://www.freesound.org/

Flickr

Https://www.flickr.com/

FC2 Video

Http://video.fc2.com/

Facebook

Https://www.facebook.com/

EHow

Http://www.ehow.com/

Dailymotion

Http://www.dailymotion.com/

CBS

Http://www.cbs.com/

Bandcamp

Http://bandcamp.com/

AliveThai

Http://alive.in.th/

Interest.me

Http://ch.interest.me/tvn

seven hundred and fifty five

I don't know what to do.

Http://7gogo.jp/

Niconico

To draw a picture.

Http://www.nicovideo.jp/

one hundred and sixty three

NetEase video

Netease cloud music

Http://v.163.com/

Http://music.163.com/

56 network

Http://www.56.com/

AcFun

Http://www.acfun.tv/

Baidu

Baidu Tieba

Http://tieba.baidu.com/

Popcorn net

Http://www.baomihua.com/

Bilibili

bilibili

Http://www.bilibili.com/

Dilidili

Http://www.dilidili.com/

Douban

Http://www.douban.com/

Douyu

Http://www.douyutv.com/

Panda

Panda

Http://www.panda.tv/

Phoenix video

Http://v.ifeng.com/

Popular network

Http://www.fun.tv/

IQIYI

iQIYI

Http://www.iqiyi.com/

Agitation net

Http://www.joy.cn/

Ku6 net

Http://www.ku6.com/

KuGou Music

Http://www.kugou.com/

KuWo Music

Http://www.kuwo.cn/

Leeco Network

Http://www.le.com/

Litchi FM

Http://www.lizhi.fm/

Second beat

Http://www.miaopai.com/

MioMio on-screen screen

Http://www.miomio.tv/

Ruffian state

Https://www.pixnet.net/

PPTV cohesion

Http://www.pptv.com/

Qilu net

Http://v.iqilu.com/

QQ

Tencent Video

Http://v.qq.com/

Penguin Sports Live

Http://live.qq.com/

Buildings video

Http://qianmo.com/

THVideo

Http://thvideo.tv/

Sina

Sina video

Weibo shoots videos in seconds.

Http://video.sina.com.cn/

Http://video.weibo.com/

Sohu

Sohu video

Http://tv.sohu.com/

TTPOD

Http://www.dongting.com/

Tudou

Potato

Http://www.tudou.com/

Dried shrimp

Http://www.xiami.com/

Sunshine Satellite TV

Http://www.isuntv.com/

Yinyue Tai

Http://www.yinyuetai.com/

Youku

Youku

Http://www.youku.com/

Battle Flag TV

Http://www.zhanqi.tv/lives

CCTV network

Http://www.cntv.cn/

Petal

Http://huaban.com/

Naver

Http://tvcast.naver.com/

Mango TV

Http://www.mgtv.com/

This is the end of this article on "how to use yo-get to download videos or other videos". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report