Async Inline YouTube-DL for Pyrogram based Bots
Project description
iYTDL
Async Inline YouTube-DL for Pyrogram based Bots
⬇️ Installation
Install
pip3 install iytdl
Upgrade
pip3 install -U iytdl
Build Wheel Locally
git clone https://github.com/iytdl/iytdl.git
cd iytdl
poetry install
chmod +x scripts/install.sh && ./scripts/install.sh
Features
- Async and memory efficient (uses Aiosqlite for Caching)
- Uses hashing avoid storing duplicate data
- Supports context manager
- Supports External Downloader [Aria2c]
- Supported Sites
Requirements
Pre-commit Hooks
- Install Pre-commit Hooks
pre-commit install
Examples
Callbacks
OPEN
- Back and Next
r"^yt_(back|next)\|(?P<key>[\w-]{5,11})\|(?P<pg>\d+)$"
- List View
r"^yt_listall\|(?P<key>[\w-]{5,11})$"
- Extract Info
r"^yt_extract_info\|(?P<key>[\w-]{5,11})$"
- Download
r"yt_(?P<mode>gen|dl)\|(?P<key>[\w-]+)\|(?P<choice>[\w-]+)\|(?P<dl_type>a|v)$"
- Cancel
r"^yt_cancel\|(?P<process_id>[\w\.]+)$"
Module
YouTube.py
Screenshots
- Telegram Bot: https://t.me/iytdl_bot
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
iytdl-0.5.5.tar.gz
(35.5 kB
view details)
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
iytdl-0.5.5-py3-none-any.whl
(39.4 kB
view details)
File details
Details for the file iytdl-0.5.5.tar.gz.
File metadata
- Download URL: iytdl-0.5.5.tar.gz
- Upload date:
- Size: 35.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.11 CPython/3.9.7 Linux/5.8.0-1042-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
430d1ffa8115857bda78f43456f07e38250dcdacaf8d72e64c3723c1fe2a2e48
|
|
| MD5 |
9873f7ce82be70bb1e22dbb5b42657f5
|
|
| BLAKE2b-256 |
cbb5c6925a230422d672b1ad7de98ca99f981bb11f382d181862b4897286a521
|
File details
Details for the file iytdl-0.5.5-py3-none-any.whl.
File metadata
- Download URL: iytdl-0.5.5-py3-none-any.whl
- Upload date:
- Size: 39.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.11 CPython/3.9.7 Linux/5.8.0-1042-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
891869165cd0e616a518d29877036bcf8b5e53a1740b55e1cc2073c9598d5a23
|
|
| MD5 |
434efdc71f1be5d9730ae7566824ea47
|
|
| BLAKE2b-256 |
ef2b1db2c5bea587b47b329b301e7942a782bc920f98283aaaee20e50b30bd96
|