<p align="center">
<a href="https://github.com/Simatwa/yt6"><img src="https://img.shields.io/static/v1?logo=github&color=blueviolet&label=Test&message=Passing"/></a>
<a href='https://pypi.org/project/yt6'><img src='https://img.shields.io/static/v1?logo=pypi&color=yellow&label=Pypi&message=v1.5.4' alt='Pypi'/></a>
<a href="LICENSE"><img src="https://img.shields.io/static/v1?logo=MIT&color=Blue&message=MIT&label=License"/></a>
<a href="#" alt="coverage"><img src="https://img.shields.io/static/v1?logo=Coverage&label=Coverage&message=80%&color=yellowgreen"/></a>
<a href="https://github.com/psf/black"><img src="https://img.shields.io/static/v1?label=Code style&message=black&color=Black"/></a>
<a href="#"><img alt="progress" src="https://img.shields.io/static/v1?logo=Progress&label=Progress&message=60%&color=green"/></a>
<a href='https://pepy.tech/project/yt6'><img src='https://static.pepy.tech/badge/yt6' alt='Downloads'/></a>
<a href="https://wakatime.com/badge/user/321c8a21-57bc-4782-bb00-8733ff579c0d/project/9681babc-aedd-4a02-ae7c-f91f914ad9b3"><img src="https://wakatime.com/badge/user/321c8a21-57bc-4782-bb00-8733ff579c0d/project/9681babc-aedd-4a02-ae7c-f91f914ad9b3.svg" alt="wakatime"/></a>
</p>
> [!IMPORTANT]
> This is just but a maintained [yt5](https://github.com/Simatwa/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
```
- **yt5** is a [Python](https://python.org) script that downloads [YouTube](https://www.youtube.com) ***Videos*** & ***audios*** at `console` environment.
## Installation ##
Download binaries for your system from [here](https://github.com/Simatwa/yt6/releases/latest) .
**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` <sup>prefixed</sup> or <sub>postfixed</sub> by its category:
- For instances:
1. Single video :
```
$ yt5 url <Video-URI>
```
![yt52](https://github.com/Simatwa/yt5/raw/main/assets/yt52.jpg)
- Alternatively, this can be done by omitting `url` command since it's the default category.
```
$ yt5 <Video-URI>
```
![yt51](https://github.com/Simatwa/yt5/raw/main/assets/yt51.jpg)
2. All videos in a Playlist :
```
$ yt5 playlist <Playlist-URI>
```
![yt53](https://github.com/Simatwa/yt5/raw/main/assets/yt53.jpg)
3. All videos in a Channel :
```
$ yt5 channel <Channel-URI>
```
![yt54](https://github.com/Simatwa/yt5/raw/main/assets/yt54.jpg)
4. Collection of single-video's URI contained in a text file :
```
$ yt5 fnm <file-path>
```
![yt55](https://github.com/Simatwa/yt5/raw/main/assets/yt55.jpg)
#### Audio ####
- Audio of a video can be downloaded by adding `--mp3` to the commands parsed.
- For instance:
1. Single audio :
```
$ yt5 url <Video-URI> --mp3
```
![yt56](https://github.com/Simatwa/yt5/raw/main/assets/yt56.jpg)
- 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 ##
1. [pytube](https://github.com/pytube/pytube)
2. [colorama](https://github.com/pytube/pytube)
3. [tabulate](https://github.com/astanin/python-tabulate)
* [Review](requirements.txt).
## Acknowledgements ##
- [x] [Pytube](https://github.com/pytube/pytube)
- [x] [Python Team](https://python.org)
Raw data
{
"_id": null,
"home_page": "https://github.com/Simatwa/yt6",
"name": "yt6",
"maintainer": "Smartwa Caleb",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "yt5,yt6,youtubedl,youtube,downloader,video-downloader",
"author": "Smartwa Caleb",
"author_email": "smartwacaleb@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/db/9d/21bb841a473fcd4635c5f0678c943572d4f9de64308c1b861ed424ec3f21/yt6-1.5.5.tar.gz",
"platform": null,
"description": "<p align=\"center\">\n<a href=\"https://github.com/Simatwa/yt6\"><img src=\"https://img.shields.io/static/v1?logo=github&color=blueviolet&label=Test&message=Passing\"/></a>\n<a href='https://pypi.org/project/yt6'><img src='https://img.shields.io/static/v1?logo=pypi&color=yellow&label=Pypi&message=v1.5.4' alt='Pypi'/></a>\n<a href=\"LICENSE\"><img src=\"https://img.shields.io/static/v1?logo=MIT&color=Blue&message=MIT&label=License\"/></a>\n<a href=\"#\" alt=\"coverage\"><img src=\"https://img.shields.io/static/v1?logo=Coverage&label=Coverage&message=80%&color=yellowgreen\"/></a>\n<a href=\"https://github.com/psf/black\"><img src=\"https://img.shields.io/static/v1?label=Code style&message=black&color=Black\"/></a>\n<a href=\"#\"><img alt=\"progress\" src=\"https://img.shields.io/static/v1?logo=Progress&label=Progress&message=60%&color=green\"/></a>\n<a href='https://pepy.tech/project/yt6'><img src='https://static.pepy.tech/badge/yt6' alt='Downloads'/></a>\n<a href=\"https://wakatime.com/badge/user/321c8a21-57bc-4782-bb00-8733ff579c0d/project/9681babc-aedd-4a02-ae7c-f91f914ad9b3\"><img src=\"https://wakatime.com/badge/user/321c8a21-57bc-4782-bb00-8733ff579c0d/project/9681babc-aedd-4a02-ae7c-f91f914ad9b3.svg\" alt=\"wakatime\"/></a>\n</p>\n\n> [!IMPORTANT]\n> This is just but a maintained [yt5](https://github.com/Simatwa/yt5).\n> So wherever there's yt5 just know I'm referring to **yt6**.\n\n```\n \n \n tttt 555555555555555555 \n ttt:::t 5::::::::::::::::5 \n t:::::t 5::::::::::::::::5 \n t:::::t 5:::::555555555555 \nyyyyyyy yyyyyyyttttttt:::::ttttttt 5:::::5 \n y:::::y y:::::y t:::::::::::::::::t 5:::::5 \n y:::::y y:::::y t:::::::::::::::::t 5:::::5555555555 \n y:::::y y:::::y tttttt:::::::tttttt 5:::::::::::::::5 \n y:::::y y:::::y t:::::t 555555555555:::::5 \n y:::::y y:::::y t:::::t 5:::::5\n y:::::y:::::y t:::::t 5:::::5\n y:::::::::y t:::::t tttttt5555555 5:::::5\n y:::::::y t::::::tttt:::::t5::::::55555::::::5\n y:::::y tt::::::::::::::t 55:::::::::::::55 \n y:::::y tt:::::::::::tt 55:::::::::55 \n y:::::y ttttttttttt 555555555 \n y:::::y \n y:::::y \n y:::::y \n y:::::y \n yyyyyyy \n \n \n```\n- **yt5** is a [Python](https://python.org) script that downloads [YouTube](https://www.youtube.com) ***Videos*** & ***audios*** at `console` environment.\n\n## Installation ##\n\nDownload binaries for your system from [here](https://github.com/Simatwa/yt6/releases/latest) .\n\n**OR** :\n\n- From Github - *source*\n\n```\ngit clone https://github.com/Simatwa/yt5.git\ncd yt5\npython setup.py install\n\n```\n\n- From Pypi\n\n```\npip install yt5\n```\n\n## Usage ##\n\n#### Video #### \n\n- Videos can be downloaded by parsing a `URI` <sup>prefixed</sup> or <sub>postfixed</sub> by its category:\n- For instances:\n1. Single video :\n\n```\n$ yt5 url <Video-URI>\n\n```\t\t\n![yt52](https://github.com/Simatwa/yt5/raw/main/assets/yt52.jpg)\n \n- Alternatively, this can be done by omitting `url` command since it's the default category.\n\n```\n$ yt5 <Video-URI>\n\n```\n![yt51](https://github.com/Simatwa/yt5/raw/main/assets/yt51.jpg)\n\n\n2. All videos in a Playlist :\n\n```\n$ yt5 playlist <Playlist-URI>\n\n```\n![yt53](https://github.com/Simatwa/yt5/raw/main/assets/yt53.jpg)\n\t \n3. All videos in a Channel : \n\n```\n$ yt5 channel <Channel-URI>\n\n```\n![yt54](https://github.com/Simatwa/yt5/raw/main/assets/yt54.jpg)\n\t\t\n4. Collection of single-video's URI contained in a text file : \n\n```\n$ yt5 fnm <file-path>\n\n```\n![yt55](https://github.com/Simatwa/yt5/raw/main/assets/yt55.jpg)\n\t\t\t\n#### Audio #### \n\n- Audio of a video can be downloaded by adding `--mp3` to the commands parsed.\n - For instance:\n1. Single audio : \n \t\t\n```\n$ yt5 url <Video-URI> --mp3\n\n```\n\n![yt56](https://github.com/Simatwa/yt5/raw/main/assets/yt56.jpg)\n \n- Similarly, this can be done to **other** ***categories***.\n\n- For further information you can run:\n\t\n```\n$ yt5 -h\n\n``` \n\n* Output :\n\n```\nusage: yt5 [-h] [-v] [-res [720p|480p|360p|240p|144p]] [-max MAXIMUM] [-dir DIRECTORY] [--mp3]\n [--show] [--static] [--usage]\n [[fnm|url|playlist|channel]] url\n\npositional arguments:\n [fnm|url|playlist|channel]\n Category of the videos referred by the link or filename[fnm] containing\n links\n url Link of the video\n\noptions:\n -h, --help show this help message and exit\n -v, --version show program's version number and exit\n -res [720p|480p|360p|240p|144p], --resolution [720p|480p|360p|240p|144p]\n Resolution [quality] of videos to be downloaded in\n -max MAXIMUM, --maximum MAXIMUM\n Maximum videos to be downloaded\n -dir DIRECTORY, --directory DIRECTORY\n Directory for saving downloaded file\n --mp3 Specify to download audio only\n --show Show the downloaded file-path\n --static Restricts stdout of file-path in prose-format\n --usage Show this help info in more stylistic way\n\n```\n\n\n## Independencies ##\n\n1. [pytube](https://github.com/pytube/pytube)\n2. [colorama](https://github.com/pytube/pytube)\n3. [tabulate](https://github.com/astanin/python-tabulate)\n \n * [Review](requirements.txt).\n\n\n## Acknowledgements ##\n\n- [x] [Pytube](https://github.com/pytube/pytube)\n- [x] [Python Team](https://python.org)\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Download audio and video from YouTube.",
"version": "1.5.5",
"project_urls": {
"Bug Report": "https://github.com/Simatwa/yt6/issues/new",
"Homepage": "https://github.com/Simatwa/yt6"
},
"split_keywords": [
"yt5",
"yt6",
"youtubedl",
"youtube",
"downloader",
"video-downloader"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "42069ca30aa279449ceb41eacf1a7da31a850c76b2bb083caa8683804b460923",
"md5": "db9f9da8d0d8512bacd81be8ebbaa070",
"sha256": "7da35dc08313d105d9697801f598a208a8a1d34289b9db663d793324125f6c61"
},
"downloads": -1,
"filename": "yt6-1.5.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "db9f9da8d0d8512bacd81be8ebbaa070",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 8405,
"upload_time": "2024-03-02T11:46:29",
"upload_time_iso_8601": "2024-03-02T11:46:29.701462Z",
"url": "https://files.pythonhosted.org/packages/42/06/9ca30aa279449ceb41eacf1a7da31a850c76b2bb083caa8683804b460923/yt6-1.5.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "db9d21bb841a473fcd4635c5f0678c943572d4f9de64308c1b861ed424ec3f21",
"md5": "7ed25d60ae99adebfec19833974e4bc3",
"sha256": "4a69a82a3eaf2969af9fbb2c9c2cdb3de1558c56a6e9f076313bc84bc3723776"
},
"downloads": -1,
"filename": "yt6-1.5.5.tar.gz",
"has_sig": false,
"md5_digest": "7ed25d60ae99adebfec19833974e4bc3",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 9710,
"upload_time": "2024-03-02T11:46:31",
"upload_time_iso_8601": "2024-03-02T11:46:31.206421Z",
"url": "https://files.pythonhosted.org/packages/db/9d/21bb841a473fcd4635c5f0678c943572d4f9de64308c1b861ed424ec3f21/yt6-1.5.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-02 11:46:31",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Simatwa",
"github_project": "yt6",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "yt6"
}