説明
Project description
yt_dlp_expand
Originally created for use from the iPhone shortcut app in an article called Qiita.
Uploaded for download.
iPhoneでショートカットappを使って、safariからYouTubeをダウンロードする
Getting Started
Prerequisites
Requires yt-dlp,mutagen,ffmpeg-python. If not, installation is automatic.
Installing
First, activate the virtual environment if it is separated by conda.
#examples
conda activate myenv
Download and Installation
pip install git+https://github.com/souno1218/yt_dlp_expand.git
Running
Use directly from Terminal or other sources
yt_dlp_expand [-h] [-p PATH] Download_mode url
positional arguments: Download_mode 0:bestaudio(mp3), 1:bestaudio(opus), 2:720p,mp4(h264,mp4a), 3:bestvideo(mp4(h264,mp4a)), 4:bestvideo(mp4(vp9,opus)) url url
options: -h, --help show this help message and exit -p PATH, --path PATH downloadMode dir path,
path default: PC -> "/Downloads" , iOS -> "/Documents"
Used from python
from yt_dlp_expand import ExpandYt_dlp
Class_Yt_dlp = ExpandYt_dlp(DownloadMode, url, path)
Class_Yt_dlp.main_func()
For each argument, see Terminal use.
Built With
- yt-dlp - main
- mutagen - marge file thumbnail mp3,opus
- ffmpeg-python - marge file thumbnail mp4 , crop thumbnail square
Authors
- 河野 颯之介(Sonosuke Kono)
License
This project is licensed under Apache License, Version 2.0 - see the LICENSE.md file for details.
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 Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file yt_dlp_expand-0.4.3.tar.gz.
File metadata
- Download URL: yt_dlp_expand-0.4.3.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a6f28ba60db2889907a6ddcb86b3d4e93342f0e530dedcbc71d6e8fc7bff02ec
|
|
| MD5 |
a78b47a1a65f5093c185f9710300e0a3
|
|
| BLAKE2b-256 |
6fa4f2f7311047b093858aac5b2b0d12c1a4e0ddb8728bcfd211795c06ad8b1f
|
File details
Details for the file yt_dlp_expand-0.4.3-py3-none-any.whl.
File metadata
- Download URL: yt_dlp_expand-0.4.3-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf2e72e1b9aac9205a79ffd7f3b391251c2fc57d654dbe91decbb2881e6b2bcd
|
|
| MD5 |
abf4c118efe59c5d0b5ff1c8916a96d8
|
|
| BLAKE2b-256 |
c398a7c89d73cca9dc6a61fe1e98021b5f73b4eef315b7cd9fa01c8afc29703c
|