Skip to content
forked from iytdl/iytdl

Async Inline YouTube-DL for Pyrogram based Bots

License

Notifications You must be signed in to change notification settings

Jusidama-Bot/iytdl

 
 

Repository files navigation

iYTDL

License: GPLv3 Actions Status PyPI Downloads Code style: black

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

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

Screenshots

About

Async Inline YouTube-DL for Pyrogram based Bots

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.3%
  • Shell 0.7%