Add your description here
Project description
Rushia DL
某Vtuberがいなくなる時に作ったyoutubeの動画をダウンロードでするためのpython製ツールです。
Vtuberに限らず推しはいついなくなるかわかりません、推せる時に推しましょう。
作りとしては単純でyt-dlpをラップしているだけです、mp3とmp4をそれぞれのフォーマットで出力するときのオプションを覚えるのがめんどくさかったのでpythonでラッパーを書きました。
How to pre-install
まずは依存しているffmpegをインストールしてPATHを通してください。
for mac
brew postinstall libtasn1
brew install ffmpeg
For windows
Download from https://ffmpeg.org/download.html#build-windows Then install ffpmeg and configure the path in the environment variables.
For Linux
sudo apt install ffmpeg
How to install
pip3 install rushia-dl
How to use
使い方はかんたんです。
オプションは-pと-u、-fの3つです。
❯ rushia-dl --help
usage: rushia-dl [-h] (-p PATH | -u URL) -f {mp3,mp4}
This tool that download video and mp3 from youtube.
options:
-h, --help show this help message and exit
-p PATH, --path PATH [REQUIRE] Please enter the URL of the video in the path of a text file.
-u URL, --url URL [REQUIRE] Please enter the video URL.
-f {mp3,mp4}, --format {mp3,mp4}
[REQUIRE] Please input format that mp3 or mp4.
-fではフォーマットを指定します、mp3(音声のみ)もしくはmp4(動画)を選択します。
-pを選んだ場合は動画のURLが1行ずつ記載されたtext fileのpathを指定してください。
e.g.
cat test.txt
https://www.youtube.com/watch?v=aaaaaaa
https://www.youtube.com/watch?v=bbbbbbb
❯ rusia-dl.py -p ./test.txt -f mp4
-uではURLを指定してください。
❯ rusia-dl.py -u "https://www.youtube.com/watch?v=DHqLfnIoKWc" -f mp4
この先も素敵な推し活を祈っています。
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for rushia_dl-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17bd3e62111c8c0c5787966bc2393e89a8fa3645bab26e98bf5db47415ea7e12 |
|
MD5 | 1bd5ffa42808bcfc3ed90f68f05f1a23 |
|
BLAKE2b-256 | 693248c6462120889d3004b87f78898eac1a61a63a959cdffcb41a9d92f954dd |