又一个 youtube 下载器 (Git 镜像)
yet another youtube (and more) down loader
% yaydl "https://www.youtube.com/watch?v=jNQXAC9IVRw"% yaydl --helpffmpeg binary)..mp4 and .mpg files.There is an easy way to add more supported sites, see below for details.
The list of features is deliberately kept short:
yaydl assumes that you have a large hard drive and your internet connection is good enough, or else you would stream, not download.Available on cdn.tuxproject.de.
Install Rust (e.g. with rustup), then:
using Fossil:
% fossil clone https://code.rosaelefanten.org/yaydl
% cd yaydl
% cargo build --releaseusing Git:
% git clone https://github.com/dertuxmalwieder/yaydl
% cd yaydl
% cargo build --release% cargo install yaydlpkgsrc (with pkg_add):
% pkg_add yaydlpkgsrc (with pkgin):
% pkgin install yaydlxbps-install on Void Linux:
% xbps-install yaydlOther package managers:
yaydl yet. You can help!For some video sites, yaydl needs to be able to parse a JavaScript on them. For this, it needs to be able to spawn a headless web browser. It requires Google Chrome, Microsoft Edge or Mozilla Firefox to be installed and running on your system.
yaydl that you have a web driver running: yaydl --webdriver . (The drivers usually run on port 4444 or 9515, please consult their documentation if you are not sure.)
Hint: If you need this feature regularly, you can also use the environment variable YAYDL_WEBDRIVER_PORT to set the port number for all further requests.yaydl now. :-)For rather obvious reasons, including (but not limited to) the fact that Google tries to choke third-party clients, yaydl has been using Invidious as a wrapper since version 0.13.0. Now sometimes, the default instance hard-coded into src/handlers/youtube.rs will fail to work properly. You can use the environment variable YAYDL_INVIDIOUS_INSTANCE to change that: Just set it to the URI (including "https://") of any other instance.
yaydl at tuxproject dot de), on the IRC or as a GitHub Pull Request. Note that GitHub only provides a mirror, so you'd double my work if you choose the latter. :-)If you do that well (and regularly) enough, I'll probably grant you commit access to the upstream Fossil repository.
definitions::SiteDefinition as handlers/.rs.inventory::submit! { &YourSiteHandler as &dyn SiteDefinition }handlers.rs.Cargo.toml.…Writing this software and keeping it available is eating some of the time which most people would spend with their friends. Naturally, I absolutely accept financial compensation.
Thank you.
irc.oftc.net/yaydl暂无开放 Issues,或尚未同步最近议题。