Skip to main content

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

Open a PowerShell or Windows command prompt in administrator mode, enter the command wsl --install, and reboot the machine.

wsl --install

After installing Ubuntu with WSL, please follow the For linux procedure.

For Linux

sudo apt update
sudo apt install ffmpeg

How to install

pip3 install rushia-dl

How to use

使い方は簡単です。

オプションは-pと-u、-f,-mの4つです。

❯ rye run rushia-dl -h
usage: rushia-dl [-h] (-p PATH | -u URL) -f {mp3,mp4} [-m]

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.
  -m, --membership      [OPTION] Please use -m option and put cookie.txt to current directory if you to do download file is membership only content.

-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

もしもmembership限定の動画であった場合は -m オプションを利用してください。-mオプションを利用する際にはブラウザからcookieをdumpしてcookie.txtという名前でcurrent directoryに配置してください。

この先も素敵な推し活を祈っています。

Metadata

Release files for rushia-dl 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rushia-dl 0.1.3
File Size Uploaded Provenance Actions
rushia_dl-0.1.3.tar.gz 5.3 kB Without provenance Details for rushia_dl-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rushia-dl 0.1.3
File Interpreter ABI Platform Actions
rushia_dl-0.1.3-py3-none-any.whl Python 3 none any Details for rushia_dl-0.1.3-py3-none-any.whl

Total release size: 10.3 kB

Release files / rushia_dl-0.1.3.tar.gz

Download URL rushia_dl-0.1.3.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
2f1d3301b5a2a93be76736bd2cf222261f2db69b37c7ea4d5e5887cee5af2437
BLAKE2b-256 checksum
How to use checksums
3312f32581f9792254df7128a9e5e57033b4adf418e0628d771faaff0bf8604c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.5

Release files / rushia_dl-0.1.3-py3-none-any.whl

Download URL rushia_dl-0.1.3-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ba17e5e022fe3be9fd7a82d4bdd522970bacc039990ff60de8aaefbf70b54316
BLAKE2b-256 checksum
How to use checksums
89f237a4bbf055c7663155e6fcc367493ca2a4f978770c5485701dbd4d383a81
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.5

Security for rushia-dl 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page