ytube-api


Nameytube-api JSON
Version 0.0.8 PyPI version JSON
download
home_pagehttps://github.com/Simatwa/ytube-api
SummaryUnofficial wrapper for y2mate.tube
upload_time2024-10-28 16:30:36
maintainerSmartwa
docs_urlNone
authorSmartwa
requires_python>=3.9
licenseMIT
keywords ytube ytube-api y2mate y2mate-api youtube ytdlp youtube-video-downloader
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <h1 align="center">ytube-api</h1>

<p align="center">
<a href="#"><img alt="Python version" src="https://img.shields.io/pypi/pyversions/ytube-api"/></a>
<a href="https://github.com/Simatwa/ytube-api/actions/workflows/python-test.yml"><img src="https://github.com/Simatwa/ytube-api/actions/workflows/python-test.yml/badge.svg" alt="Python Test"/></a>
<a href="LICENSE"><img alt="License" src="https://img.shields.io/static/v1?logo=MIT&color=Blue&message=MIT&label=License"/></a>
<a href="https://pypi.org/project/ytube-api"><img alt="PyPi" src="https://img.shields.io/pypi/v/ytube-api"></a>
<a href="https://github.com/Simatwa/ytube-api/releases"><img src="https://img.shields.io/github/v/release/Simatwa/ytube-api?label=Release&logo=github" alt="Latest release"></img></a>
<a href="https://github.com/Simatwa/ytube-api/releases"><img src="https://img.shields.io/github/release-date/Simatwa/ytube-api?label=Release date&logo=github" alt="release date"></img></a>
<a href="https://github.com/psf/black"><img alt="Black" src="https://img.shields.io/badge/code%20style-black-000000.svg"/></a>
<a href="https://github.com/Simatwa/ytube-api/actions/workflows/python-publish.yml"><img src="https://github.com/Simatwa/ytube-api/actions/workflows/python-publish.yml/badge.svg" alt="Python-publish"/></a>
<a href="https://pepy.tech/project/ytube-api"><img src="https://static.pepy.tech/personalized-badge/ytube-api?period=total&units=international_system&left_color=grey&right_color=blue&left_text=Downloads" alt="Downloads"></a>
<a href="https://github.com/Simatwa/ytube-api/releases/latest"><img src="https://img.shields.io/github/downloads/Simatwa/ytube-api/total?label=Asset%20Downloads&color=success" alt="Downloads"></img></a>
<a href="https://hits.seeyoufarm.com"><img src="https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com/Simatwa/ytube-api"/></a>
</p>

> Download YouTube videos in `mp4` or `mp3` formats.

```python
from ytube_api import Auto
Auto(
  query = "Alan Walker - Alone"
)
# Alan Walker - Alone - Alan Walker (720p, h264, youtube).mp4
# > Downloaded 15.68 MB ############ ~ Elapsed (00:00:32) [■■■█■]
# ## Saved to : /home/smartwa/y2mate/Alan Walker - Alone - Alan Walker (720p, h264, youtube).mp4
```

```python
from ytube_api import Auto
Auto(
  query = "Alan Walker - Alone",
  format = "mp3"
)
# Alan Walker - Alone - Alan Walker (youtube).mp3
# > Downloaded 2.61 MB ############ ~ Elapsed (00:00:06) [■█■■■]
# ## Saved to : /home/smartwa/y2mate/Alan Walker - Alone - Alan Walker (youtube).mp3
```

# Pre-requisite

- [x] [Python>=3.9](https://python.org) (optional)

# Installation

Either of the following ways will get you ready.

1. From pypi:

   ```sh
   $ pip install -U "ytube-api[cli]"
   ```

2. From source:

   ```sh
   $ pip install git+http://github.com/Simatwa/ytube-api.git
   ```

Alternatively, you can download standalone executable for your system from [here](https://github.com/Simatwa/ytube-api/releases/latest).

## Usage

<details>

<summary>
<h2>1. Developers</h2>
</summary>

### Search videos

#### By Title

   ```python
   from ytube_api import Ytube
   yt = Ytube()
   videos = yt.search_videos(
      "Alan Walker songs"
   )
   print(videos)
   """
   SearchResults(query='Alan Walker songs', items=[SearchResultsItem(title='Alan Walker, Putri Ariani, Peder Elias - Who I Am (Official Music Video)', id='ccu6JuC21rk', size='2.91 MB', duration='3:32', channelTitle='Alan Walker', source='yt'), SearchResultsItem(title='Alan Walker - Faded', id='60ItHLz5WEA', size='2.93 MB', duration='3:33', channelTitle='Alan Walker', source='yt')], from_link=False)
   """
   ```

#### By Video URL

   ```python
   from ytube_api import Ytube
   yt = Ytube()
   videos = yt.search_videos(
      "https://youtu.be/oociIYNVdVQ?si=v1Ic_mcBq2bb_j8J"
   )
   print(videos)
   """
   SearchResults(query='https://youtu.be/oociIYNVdVQ?si=v1Ic_mcBq2bb_j8J', items=[SearchResultsItem(title=None, id='oociIYNVdVQ', size=None, duration=None, channelTitle=None, source=None)], from_link=True)
   """
   ```

### Get Download Link

#### Video

   ```python
   from ytube_api import Ytube
   yt = Ytube()
   search_results = yt.search_videos(
      "Alan Walker songs"
   )
   target_video = search_results.items[0]
   download_link = yt.get_download_link(
      target_video,
      format="mp4",
      quality="1080"
      )
   print(
      download_link
   )
   """
   DownloadLink(status='tunnel', url='https://vgbh.nmnm.store/tunnel?id=svqwnZ5CJOJJZi12yXq0b&exp=1729856312453&sig=kcY69-AGCv--0t5cY0RZ93lyyI_rDDe88iGQo_fpJTc&sec=rrJnEyYU9sETaZG8kEbobbhGGfae7rU0SQNCkBidT90&iv=t9YVnta7aLw0qEh5GJW8Lg', filename='Alan Walker, Putri Ariani, Peder Elias - Who I Am (Official Music Video) - Alan Walker (1080p, h264, youtube).mp4')
   """
   ```

#### Audio

   ```python
   from ytube_api import Ytube
   yt = Ytube()
   search_results = yt.search_videos(
      "Alan Walker songs"
   )
   target_video = search_results.items[0]
   download_link = yt.get_download_link(
      target_video,
      format="mp3",
      quality="320"
      )
   print(
      download_link
   )
   """
   DownloadLink(status='tunnel', url='https://xdcf.nmnm.store/tunnel?id=5K8ZukESJDx0ov3liUj_N&exp=1729856389952&sig=D9ejkqecxpkBsxcXmBtIrYXo1BMIFyawLoBC1_X3J3Q&sec=L5EpDuWoxXk6dK2pLqK9jYyqNF0X06_YKtb9gLB6SVs&iv=YGnrLa_v5qh9uVQSe1x_Og', filename='Alan Walker, Putri Ariani, Peder Elias - Who I Am (Official Music Video) - Alan Walker (youtube).mp3')
   """
   ```

### Download

   ```python
   from ytube_api import Ytube
   yt = Ytube()
   search_results = yt.search_videos(
      "Alan Walker songs"
   )
   target_video = search_results.items[0]
   download_link = yt.get_download_link(
      target_video,
      format="mp3",
      quality="320"
      )
   saved_to = yt.download(
      download_link,
      progress_bar=True,
      quiet=False
   )
   print(saved_to)
   """
   /home/smartwa/git/smartwa/ytube-api/Alan Walker, Putri Ariani, Peder Elias - Who I Am (Official Music Video) - Alan Walker (youtube).mp3
   """
   ```

### Query suggestions

```python
from ytube_api import Ytube
yt = Ytube()

suggestions = yt.suggest_queries(
    'Hello wor'
)

print(
    suggestions
)

"""
['hello world', 'hello world song', 'hello world bump of chicken', 'hello world gwen stefani', 'hello worker', 'hello world louie zong', 'hello world in assembly language', 'hello world in different languages', 'hello world trailer', 'hello world english cover', 'hello world belle perez', 'hello world anime', 'hello world kekkai sensen', 'hello world lost game']
"""
```

</details>

<details>
  <summary>
   <h2>2. CLI</h2>
  </summary>

`$ python -m ytube_api --help`

```
Usage: ytube [OPTIONS] COMMAND [ARGS]...

  Download YouTube videos in mp4 and mp3 formats

Options:
  --version  Show the version and exit.
  --help     Show this message and exit.

Commands:
  download     Search and download video in mp4 or mp3 formats
  interactive  Search and download videos/audio interactively
  suggest      Suggest videos based on your query

```

> [!NOTE]
> Shorthand for `python -m pytube_api` is `pytube`.

### Download

   ```sh
   $ ytube download <QUERY>
   # e.g ytube download "Alan walker songs"
   ```
   
   _$ ytube download --help_
   
   ```
   Usage: ytube download [OPTIONS] QUERY

  Search and download video in mp4 or mp3 formats

Options:
  -q, --quality [128|320|144|240|360|480|720|1080|128|720]
                                  Media download quality - 128|720
  --mp4 / --mp3                   Download audio (mp3) or video (mp4) -
                                  mp4
  --enable-progressbar / --disable-progressbar
                                  Show or hide progressbar
  -l, --limit INTEGER             Total number of items to be downloaded
                                  that matched the search - 1
  -t, --timeout INTEGER           Http request timeout - 20
  -c, --channels Name             Download videos posted by this channel
                                  titles - None.
  -d, --dir DIRECTORY             Directory for saving the contents to -
                                  pwd.
  -o, --output TEXT               Filename to save the contents under -
                                  None
  -b, --busy-bar INTEGER RANGE    Busy bar index - ['', '/','■█■■■',
                                  '⡿'] - 2  [0<=x<=3]
  --quiet                         Do not stdout informative messages
  --resume                        Resume incomplete download
  --confirm                       Ask user for permission to download a
                                  video/audio
  --help                          Show this message and exit.

   ```

## Interactive

- Features live search 🔴 etc.

```
Welcome to interactive ytube. Type 'help' or 'h' for usage info.
Submit any bug at https://github.com/Simatwa/ytube/issues/new
╭─[Smartwa@YTUBE]~[🕒18:07:27-💻00:00:00-⚡0.0s] 
╰─>Alan Walker
               alan walker                 
               alan walker faded           
               alan walker on my way live  
               alan walker sad sometimes   
               alan walker spectre         
               alan walker alone           
               alan walker mix             

```

<details>
<summary><code>ytube interactive --help</code></summary>

```
Usage: ytube interactive [OPTIONS] [QUERY]

  Search and download videos/audio interactively

Options:
  -q, --quality [128|320|144|240|360|480|720|1080|128|720|128|720]
                                  Media download quality - 128|720
  --mp4 / --mp3                   Download audio (mp3) or video (mp4) -
                                  mp4
  -s, --suggestions-limit INTEGER
                                  Query suggestions limit - 10
  -l, --limit INTEGER             Total number of items to be downloaded
                                  that matched the search - 1
  -t, --timeout INTEGER           Http request timeout - 20
  -b, --busy-bar INTEGER RANGE    Busy bar index - ['', '/','■█■■■',
                                  '⡿'] - 2  [0<=x<=3]
  -d, --dir DIRECTORY             Directory for saving the contents to -
                                  pwd.
  --disable-coloring              Stdout interactive texts in white font
                                  color
  --select                        Prompt user download format and
                                  quality every time.
  --confirm                       Ask user for permission to download a
                                  video/audio
  --play                          Play the video/audio after completing
                                  download process
  --help                          Show this message and exit.
```

</details>

> [!NOTE]
> **Interactive** is the default option incase no command/argument is supplied.
> `$ ytube` is enough to kickoff.

</details>

# Disclaimer

This software is not affiliated with or endorsed by y2mate.tube or its parent company. By using this tool, you assume all risks associated with using this unofficial tool.It is your responsibility to ensure compliance with all relevant laws and regulations when using this tool. This software is provided "as-is" without warranty of any kind, express or implied.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Simatwa/ytube-api",
    "name": "ytube-api",
    "maintainer": "Smartwa",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "ytube, ytube-api, y2mate, y2mate-api, youtube, ytdlp, youtube-video-downloader",
    "author": "Smartwa",
    "author_email": "simatwacaleb@proton.me",
    "download_url": "https://files.pythonhosted.org/packages/03/e4/ccc38e76f310080c7b047c5f6d63a4aa5b48bdcdce7733671ae46548d4ef/ytube_api-0.0.8.tar.gz",
    "platform": null,
    "description": "<h1 align=\"center\">ytube-api</h1>\n\n<p align=\"center\">\n<a href=\"#\"><img alt=\"Python version\" src=\"https://img.shields.io/pypi/pyversions/ytube-api\"/></a>\n<a href=\"https://github.com/Simatwa/ytube-api/actions/workflows/python-test.yml\"><img src=\"https://github.com/Simatwa/ytube-api/actions/workflows/python-test.yml/badge.svg\" alt=\"Python Test\"/></a>\n<a href=\"LICENSE\"><img alt=\"License\" src=\"https://img.shields.io/static/v1?logo=MIT&color=Blue&message=MIT&label=License\"/></a>\n<a href=\"https://pypi.org/project/ytube-api\"><img alt=\"PyPi\" src=\"https://img.shields.io/pypi/v/ytube-api\"></a>\n<a href=\"https://github.com/Simatwa/ytube-api/releases\"><img src=\"https://img.shields.io/github/v/release/Simatwa/ytube-api?label=Release&logo=github\" alt=\"Latest release\"></img></a>\n<a href=\"https://github.com/Simatwa/ytube-api/releases\"><img src=\"https://img.shields.io/github/release-date/Simatwa/ytube-api?label=Release date&logo=github\" alt=\"release date\"></img></a>\n<a href=\"https://github.com/psf/black\"><img alt=\"Black\" src=\"https://img.shields.io/badge/code%20style-black-000000.svg\"/></a>\n<a href=\"https://github.com/Simatwa/ytube-api/actions/workflows/python-publish.yml\"><img src=\"https://github.com/Simatwa/ytube-api/actions/workflows/python-publish.yml/badge.svg\" alt=\"Python-publish\"/></a>\n<a href=\"https://pepy.tech/project/ytube-api\"><img src=\"https://static.pepy.tech/personalized-badge/ytube-api?period=total&units=international_system&left_color=grey&right_color=blue&left_text=Downloads\" alt=\"Downloads\"></a>\n<a href=\"https://github.com/Simatwa/ytube-api/releases/latest\"><img src=\"https://img.shields.io/github/downloads/Simatwa/ytube-api/total?label=Asset%20Downloads&color=success\" alt=\"Downloads\"></img></a>\n<a href=\"https://hits.seeyoufarm.com\"><img src=\"https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com/Simatwa/ytube-api\"/></a>\n</p>\n\n> Download YouTube videos in `mp4` or `mp3` formats.\n\n```python\nfrom ytube_api import Auto\nAuto(\n  query = \"Alan Walker - Alone\"\n)\n# Alan Walker - Alone - Alan Walker (720p, h264, youtube).mp4\n# > Downloaded 15.68 MB ############ ~ Elapsed (00:00:32) [\u25a0\u25a0\u25a0\u2588\u25a0]\n# ## Saved to : /home/smartwa/y2mate/Alan Walker - Alone - Alan Walker (720p, h264, youtube).mp4\n```\n\n```python\nfrom ytube_api import Auto\nAuto(\n  query = \"Alan Walker - Alone\",\n  format = \"mp3\"\n)\n# Alan Walker - Alone - Alan Walker (youtube).mp3\n# > Downloaded 2.61 MB ############ ~ Elapsed (00:00:06) [\u25a0\u2588\u25a0\u25a0\u25a0]\n# ## Saved to : /home/smartwa/y2mate/Alan Walker - Alone - Alan Walker (youtube).mp3\n```\n\n# Pre-requisite\n\n- [x] [Python>=3.9](https://python.org) (optional)\n\n# Installation\n\nEither of the following ways will get you ready.\n\n1. From pypi:\n\n   ```sh\n   $ pip install -U \"ytube-api[cli]\"\n   ```\n\n2. From source:\n\n   ```sh\n   $ pip install git+http://github.com/Simatwa/ytube-api.git\n   ```\n\nAlternatively, you can download standalone executable for your system from [here](https://github.com/Simatwa/ytube-api/releases/latest).\n\n## Usage\n\n<details>\n\n<summary>\n<h2>1. Developers</h2>\n</summary>\n\n### Search videos\n\n#### By Title\n\n   ```python\n   from ytube_api import Ytube\n   yt = Ytube()\n   videos = yt.search_videos(\n      \"Alan Walker songs\"\n   )\n   print(videos)\n   \"\"\"\n   SearchResults(query='Alan Walker songs', items=[SearchResultsItem(title='Alan Walker, Putri Ariani, Peder Elias - Who I Am (Official Music Video)', id='ccu6JuC21rk', size='2.91 MB', duration='3:32', channelTitle='Alan Walker', source='yt'), SearchResultsItem(title='Alan Walker - Faded', id='60ItHLz5WEA', size='2.93 MB', duration='3:33', channelTitle='Alan Walker', source='yt')], from_link=False)\n   \"\"\"\n   ```\n\n#### By Video URL\n\n   ```python\n   from ytube_api import Ytube\n   yt = Ytube()\n   videos = yt.search_videos(\n      \"https://youtu.be/oociIYNVdVQ?si=v1Ic_mcBq2bb_j8J\"\n   )\n   print(videos)\n   \"\"\"\n   SearchResults(query='https://youtu.be/oociIYNVdVQ?si=v1Ic_mcBq2bb_j8J', items=[SearchResultsItem(title=None, id='oociIYNVdVQ', size=None, duration=None, channelTitle=None, source=None)], from_link=True)\n   \"\"\"\n   ```\n\n### Get Download Link\n\n#### Video\n\n   ```python\n   from ytube_api import Ytube\n   yt = Ytube()\n   search_results = yt.search_videos(\n      \"Alan Walker songs\"\n   )\n   target_video = search_results.items[0]\n   download_link = yt.get_download_link(\n      target_video,\n      format=\"mp4\",\n      quality=\"1080\"\n      )\n   print(\n      download_link\n   )\n   \"\"\"\n   DownloadLink(status='tunnel', url='https://vgbh.nmnm.store/tunnel?id=svqwnZ5CJOJJZi12yXq0b&exp=1729856312453&sig=kcY69-AGCv--0t5cY0RZ93lyyI_rDDe88iGQo_fpJTc&sec=rrJnEyYU9sETaZG8kEbobbhGGfae7rU0SQNCkBidT90&iv=t9YVnta7aLw0qEh5GJW8Lg', filename='Alan Walker, Putri Ariani, Peder Elias - Who I Am (Official Music Video) - Alan Walker (1080p, h264, youtube).mp4')\n   \"\"\"\n   ```\n\n#### Audio\n\n   ```python\n   from ytube_api import Ytube\n   yt = Ytube()\n   search_results = yt.search_videos(\n      \"Alan Walker songs\"\n   )\n   target_video = search_results.items[0]\n   download_link = yt.get_download_link(\n      target_video,\n      format=\"mp3\",\n      quality=\"320\"\n      )\n   print(\n      download_link\n   )\n   \"\"\"\n   DownloadLink(status='tunnel', url='https://xdcf.nmnm.store/tunnel?id=5K8ZukESJDx0ov3liUj_N&exp=1729856389952&sig=D9ejkqecxpkBsxcXmBtIrYXo1BMIFyawLoBC1_X3J3Q&sec=L5EpDuWoxXk6dK2pLqK9jYyqNF0X06_YKtb9gLB6SVs&iv=YGnrLa_v5qh9uVQSe1x_Og', filename='Alan Walker, Putri Ariani, Peder Elias - Who I Am (Official Music Video) - Alan Walker (youtube).mp3')\n   \"\"\"\n   ```\n\n### Download\n\n   ```python\n   from ytube_api import Ytube\n   yt = Ytube()\n   search_results = yt.search_videos(\n      \"Alan Walker songs\"\n   )\n   target_video = search_results.items[0]\n   download_link = yt.get_download_link(\n      target_video,\n      format=\"mp3\",\n      quality=\"320\"\n      )\n   saved_to = yt.download(\n      download_link,\n      progress_bar=True,\n      quiet=False\n   )\n   print(saved_to)\n   \"\"\"\n   /home/smartwa/git/smartwa/ytube-api/Alan Walker, Putri Ariani, Peder Elias - Who I Am (Official Music Video) - Alan Walker (youtube).mp3\n   \"\"\"\n   ```\n\n### Query suggestions\n\n```python\nfrom ytube_api import Ytube\nyt = Ytube()\n\nsuggestions = yt.suggest_queries(\n    'Hello wor'\n)\n\nprint(\n    suggestions\n)\n\n\"\"\"\n['hello world', 'hello world song', 'hello world bump of chicken', 'hello world gwen stefani', 'hello worker', 'hello world louie zong', 'hello world in assembly language', 'hello world in different languages', 'hello world trailer', 'hello world english cover', 'hello world belle perez', 'hello world anime', 'hello world kekkai sensen', 'hello world lost game']\n\"\"\"\n```\n\n</details>\n\n<details>\n  <summary>\n   <h2>2. CLI</h2>\n  </summary>\n\n`$ python -m ytube_api --help`\n\n```\nUsage: ytube [OPTIONS] COMMAND [ARGS]...\n\n  Download YouTube videos in mp4 and mp3 formats\n\nOptions:\n  --version  Show the version and exit.\n  --help     Show this message and exit.\n\nCommands:\n  download     Search and download video in mp4 or mp3 formats\n  interactive  Search and download videos/audio interactively\n  suggest      Suggest videos based on your query\n\n```\n\n> [!NOTE]\n> Shorthand for `python -m pytube_api` is `pytube`.\n\n### Download\n\n   ```sh\n   $ ytube download <QUERY>\n   # e.g ytube download \"Alan walker songs\"\n   ```\n   \n   _$ ytube download --help_\n   \n   ```\n   Usage: ytube download [OPTIONS] QUERY\n\n  Search and download video in mp4 or mp3 formats\n\nOptions:\n  -q, --quality [128|320|144|240|360|480|720|1080|128|720]\n                                  Media download quality - 128|720\n  --mp4 / --mp3                   Download audio (mp3) or video (mp4) -\n                                  mp4\n  --enable-progressbar / --disable-progressbar\n                                  Show or hide progressbar\n  -l, --limit INTEGER             Total number of items to be downloaded\n                                  that matched the search - 1\n  -t, --timeout INTEGER           Http request timeout - 20\n  -c, --channels Name             Download videos posted by this channel\n                                  titles - None.\n  -d, --dir DIRECTORY             Directory for saving the contents to -\n                                  pwd.\n  -o, --output TEXT               Filename to save the contents under -\n                                  None\n  -b, --busy-bar INTEGER RANGE    Busy bar index - ['', '/','\u25a0\u2588\u25a0\u25a0\u25a0',\n                                  '\u287f'] - 2  [0<=x<=3]\n  --quiet                         Do not stdout informative messages\n  --resume                        Resume incomplete download\n  --confirm                       Ask user for permission to download a\n                                  video/audio\n  --help                          Show this message and exit.\n\n   ```\n\n## Interactive\n\n- Features live search \ud83d\udd34 etc.\n\n```\nWelcome to interactive ytube. Type 'help' or 'h' for usage info.\nSubmit any bug at https://github.com/Simatwa/ytube/issues/new\n\u256d\u2500[Smartwa@YTUBE]~[\ud83d\udd5218:07:27-\ud83d\udcbb00:00:00-\u26a10.0s] \n\u2570\u2500>Alan Walker\n               alan walker                 \n               alan walker faded           \n               alan walker on my way live  \n               alan walker sad sometimes   \n               alan walker spectre         \n               alan walker alone           \n               alan walker mix             \n\n```\n\n<details>\n<summary><code>ytube interactive --help</code></summary>\n\n```\nUsage: ytube interactive [OPTIONS] [QUERY]\n\n  Search and download videos/audio interactively\n\nOptions:\n  -q, --quality [128|320|144|240|360|480|720|1080|128|720|128|720]\n                                  Media download quality - 128|720\n  --mp4 / --mp3                   Download audio (mp3) or video (mp4) -\n                                  mp4\n  -s, --suggestions-limit INTEGER\n                                  Query suggestions limit - 10\n  -l, --limit INTEGER             Total number of items to be downloaded\n                                  that matched the search - 1\n  -t, --timeout INTEGER           Http request timeout - 20\n  -b, --busy-bar INTEGER RANGE    Busy bar index - ['', '/','\u25a0\u2588\u25a0\u25a0\u25a0',\n                                  '\u287f'] - 2  [0<=x<=3]\n  -d, --dir DIRECTORY             Directory for saving the contents to -\n                                  pwd.\n  --disable-coloring              Stdout interactive texts in white font\n                                  color\n  --select                        Prompt user download format and\n                                  quality every time.\n  --confirm                       Ask user for permission to download a\n                                  video/audio\n  --play                          Play the video/audio after completing\n                                  download process\n  --help                          Show this message and exit.\n```\n\n</details>\n\n> [!NOTE]\n> **Interactive** is the default option incase no command/argument is supplied.\n> `$ ytube` is enough to kickoff.\n\n</details>\n\n# Disclaimer\n\nThis software is not affiliated with or endorsed by y2mate.tube or its parent company. By using this tool, you assume all risks associated with using this unofficial tool.It is your responsibility to ensure compliance with all relevant laws and regulations when using this tool. This software is provided \"as-is\" without warranty of any kind, express or implied.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Unofficial wrapper for y2mate.tube",
    "version": "0.0.8",
    "project_urls": {
        "Bug Report": "https://github.com/Simatwa/ytube-api/issues/new",
        "Documentation": "https://github.com/Simatwa/ytube-api/",
        "Download": "https://github.com/Simatwa/ytube-api/releases",
        "Homepage": "https://github.com/Simatwa/ytube-api",
        "Issue Tracker": "https://github.com/Simatwa/ytube-api/issues",
        "Source Code": "https://github.com/Simatwa/ytube-api"
    },
    "split_keywords": [
        "ytube",
        " ytube-api",
        " y2mate",
        " y2mate-api",
        " youtube",
        " ytdlp",
        " youtube-video-downloader"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "cc343ff0be48e5e752ff378ff208219b5cb2dcafb4424c59127ced2c64669b80",
                "md5": "b694e601b3a167ccecd5bf47a9fa278f",
                "sha256": "2b795bbbc66c14d2d986c205ff02cdf40b2af19900acafd80c2c33262f9a1a20"
            },
            "downloads": -1,
            "filename": "ytube_api-0.0.8-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b694e601b3a167ccecd5bf47a9fa278f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 20020,
            "upload_time": "2024-10-28T16:30:35",
            "upload_time_iso_8601": "2024-10-28T16:30:35.449097Z",
            "url": "https://files.pythonhosted.org/packages/cc/34/3ff0be48e5e752ff378ff208219b5cb2dcafb4424c59127ced2c64669b80/ytube_api-0.0.8-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "03e4ccc38e76f310080c7b047c5f6d63a4aa5b48bdcdce7733671ae46548d4ef",
                "md5": "0021e5b3ebcceea550e818a1fa2de65d",
                "sha256": "6ad8a1b5ba90a9b8fd7f986559a353f02492eb547e1b9dd3806767cea66a0cab"
            },
            "downloads": -1,
            "filename": "ytube_api-0.0.8.tar.gz",
            "has_sig": false,
            "md5_digest": "0021e5b3ebcceea550e818a1fa2de65d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 22067,
            "upload_time": "2024-10-28T16:30:36",
            "upload_time_iso_8601": "2024-10-28T16:30:36.451045Z",
            "url": "https://files.pythonhosted.org/packages/03/e4/ccc38e76f310080c7b047c5f6d63a4aa5b48bdcdce7733671ae46548d4ef/ytube_api-0.0.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-28 16:30:36",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Simatwa",
    "github_project": "ytube-api",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "ytube-api"
}
        
Elapsed time: 0.75630s