Download audio and video from YouTube.
Project description
[!IMPORTANT] This is just but a maintained yt5. So wherever there's yt5 just know I'm referring to yt6.
tttt 555555555555555555
ttt:::t 5::::::::::::::::5
t:::::t 5::::::::::::::::5
t:::::t 5:::::555555555555
yyyyyyy yyyyyyyttttttt:::::ttttttt 5:::::5
y:::::y y:::::y t:::::::::::::::::t 5:::::5
y:::::y y:::::y t:::::::::::::::::t 5:::::5555555555
y:::::y y:::::y tttttt:::::::tttttt 5:::::::::::::::5
y:::::y y:::::y t:::::t 555555555555:::::5
y:::::y y:::::y t:::::t 5:::::5
y:::::y:::::y t:::::t 5:::::5
y:::::::::y t:::::t tttttt5555555 5:::::5
y:::::::y t::::::tttt:::::t5::::::55555::::::5
y:::::y tt::::::::::::::t 55:::::::::::::55
y:::::y tt:::::::::::tt 55:::::::::55
y:::::y ttttttttttt 555555555
y:::::y
y:::::y
y:::::y
y:::::y
yyyyyyy
Installation
Download binaries for your system from here .
OR :
- From Github - source
git clone https://github.com/Simatwa/yt5.git
cd yt5
python setup.py install
- From Pypi
pip install yt5
Usage
Video
- Videos can be downloaded by parsing a
URI
prefixed or postfixed by its category: - For instances:
- Single video :
$ yt5 url <Video-URI>
- Alternatively, this can be done by omitting
url
command since it's the default category.
$ yt5 <Video-URI>
- All videos in a Playlist :
$ yt5 playlist <Playlist-URI>
- All videos in a Channel :
$ yt5 channel <Channel-URI>
- Collection of single-video's URI contained in a text file :
$ yt5 fnm <file-path>
Audio
- Audio of a video can be downloaded by adding
--mp3
to the commands parsed.- For instance:
- Single audio :
$ yt5 url <Video-URI> --mp3
-
Similarly, this can be done to other categories.
-
For further information you can run:
$ yt5 -h
- Output :
usage: yt5 [-h] [-v] [-res [720p|480p|360p|240p|144p]] [-max MAXIMUM] [-dir DIRECTORY] [--mp3]
[--show] [--static] [--usage]
[[fnm|url|playlist|channel]] url
positional arguments:
[fnm|url|playlist|channel]
Category of the videos referred by the link or filename[fnm] containing
links
url Link of the video
options:
-h, --help show this help message and exit
-v, --version show program's version number and exit
-res [720p|480p|360p|240p|144p], --resolution [720p|480p|360p|240p|144p]
Resolution [quality] of videos to be downloaded in
-max MAXIMUM, --maximum MAXIMUM
Maximum videos to be downloaded
-dir DIRECTORY, --directory DIRECTORY
Directory for saving downloaded file
--mp3 Specify to download audio only
--show Show the downloaded file-path
--static Restricts stdout of file-path in prose-format
--usage Show this help info in more stylistic way
Independencies
Acknowledgements
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
yt6-1.5.5.tar.gz
(9.7 kB
view details)
Built Distribution
yt6-1.5.5-py3-none-any.whl
(8.4 kB
view details)
File details
Details for the file yt6-1.5.5.tar.gz
.
File metadata
- Download URL: yt6-1.5.5.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a69a82a3eaf2969af9fbb2c9c2cdb3de1558c56a6e9f076313bc84bc3723776 |
|
MD5 | 7ed25d60ae99adebfec19833974e4bc3 |
|
BLAKE2b-256 | db9d21bb841a473fcd4635c5f0678c943572d4f9de64308c1b861ed424ec3f21 |
File details
Details for the file yt6-1.5.5-py3-none-any.whl
.
File metadata
- Download URL: yt6-1.5.5-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7da35dc08313d105d9697801f598a208a8a1d34289b9db663d793324125f6c61 |
|
MD5 | db9f9da8d0d8512bacd81be8ebbaa070 |
|
BLAKE2b-256 | 42069ca30aa279449ceb41eacf1a7da31a850c76b2bb083caa8683804b460923 |