{"id":13989050,"url":"https://github.com/iytdl/iytdl","last_synced_at":"2025-08-16T07:14:27.563Z","repository":{"id":48468224,"uuid":"388490791","full_name":"iytdl/iytdl","owner":"iytdl","description":"Async Inline YouTube-DL for Pyrogram based Bots","archived":false,"fork":false,"pushed_at":"2022-07-02T21:21:07.000Z","size":310,"stargazers_count":55,"open_issues_count":2,"forks_count":23,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-29T09:30:27.464Z","etag":null,"topics":["hacktoberfest","pyrogram","python","youtube","youtube-dl","youtube-downloader","yt-dlp"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iytdl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-07-22T14:27:02.000Z","updated_at":"2024-12-21T05:22:41.000Z","dependencies_parsed_at":"2022-08-24T06:21:32.139Z","dependency_job_id":null,"html_url":"https://github.com/iytdl/iytdl","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/iytdl/iytdl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iytdl%2Fiytdl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iytdl%2Fiytdl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iytdl%2Fiytdl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iytdl%2Fiytdl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iytdl","download_url":"https://codeload.github.com/iytdl/iytdl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iytdl%2Fiytdl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270680077,"owners_count":24627119,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-16T02:00:11.002Z","response_time":91,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacktoberfest","pyrogram","python","youtube","youtube-dl","youtube-downloader","yt-dlp"],"created_at":"2024-08-09T13:01:29.855Z","updated_at":"2025-08-16T07:14:27.537Z","avatar_url":"https://github.com/iytdl.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://i.imgur.com/Q94CDKC.png\" width=250px\u003e\n\n# iYTDL\n\n\u003ca href=\"https://github.com/iytdl/iytdl/blob/main/LICENSE\"\u003e\u003cimg alt=\"License: GPLv3\" src=\"https://img.shields.io/badge/License-GPLv3-blue.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/iytdl/iytdl/actions\"\u003e\u003cimg alt=\"Actions Status\" src=\"https://github.com/iytdl/iytdl/actions/workflows/pypi-publish.yaml/badge.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://pypi.org/project/iytdl/\"\u003e\u003cimg alt=\"PyPI\" src=\"https://img.shields.io/pypi/v/iytdl\"\u003e\u003c/a\u003e\n\u003ca href=\"https://pepy.tech/project/iytdl\"\u003e\u003cimg alt=\"Downloads\" src=\"https://pepy.tech/badge/iytdl\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/psf/black\"\u003e\u003cimg alt=\"Code style: black\" src=\"https://img.shields.io/badge/code%20style-black-000000.svg\"\u003e\u003c/a\u003e\n\n\u003c/p\u003e\n\n\u003ch2 align=\"center\"\u003eAsync Inline YouTube-DL for Pyrogram based Bots\u003c/h2\u003e\n\n## ⬇️ Installation\n\n\u003e Install\n\n```bash\npip3 install iytdl\n```\n\n\u003e Upgrade\n\n```bash\npip3 install -U iytdl\n```\n\n\u003e Build Wheel Locally\n\n```bash\ngit clone https://github.com/iytdl/iytdl.git\ncd iytdl\npoetry install\n\nchmod +x scripts/install.sh \u0026\u0026 ./scripts/install.sh\n```\n\n## Features\n\n- Async and memory efficient (uses Aiosqlite for Caching)\n- Uses hashing avoid storing duplicate data\n- Supports context manager\n- Supports External Downloader [[Aria2c](https://github.com/iytdl/iytdl/blob/master/tests/test_download_upload.py#L20)]\n- [Supported Sites](https://github.com/yt-dlp/yt-dlp/blob/master/supportedsites.md)\n\n## Requirements\n\n- [YT-DLP](https://github.com/yt-dlp/yt-dlp) (Active youtube-dl fork)\n- [Python](https://www.python.org/) \u003e=3.8,\u003c4\n- [Pyrogram](https://docs.pyrogram.org/) based Bot\n- [FFmpeg](http://ffmpeg.org/)\n- [Aria2c](https://aria2.github.io/) (_Optional_)\n\n## Pre-commit Hooks\n\n- [Install Pre-commit Hooks](https://pre-commit.com/#installation)\n- `pre-commit install`\n\n## Examples\n\n### Callbacks\n\n\u003cdetails\u003e\n  \u003csummary\u003e\u003cb\u003eOPEN\u003c/b\u003e\u003c/summary\u003e\n\n- Back and Next\n\n```python\nr\"^yt_(back|next)\\|(?P\u003ckey\u003e[\\w-]{5,11})\\|(?P\u003cpg\u003e\\d+)$\"\n```\n\n- List View\n\n```python\nr\"^yt_listall\\|(?P\u003ckey\u003e[\\w-]{5,11})$\"\n```\n\n- Extract Info\n\n```python\nr\"^yt_extract_info\\|(?P\u003ckey\u003e[\\w-]{5,11})$\"\n```\n\n- Download\n\n```python\nr\"yt_(?P\u003cmode\u003egen|dl)\\|(?P\u003ckey\u003e[\\w-]+)\\|(?P\u003cchoice\u003e[\\w-]+)\\|(?P\u003cdl_type\u003ea|v)$\"\n```\n\n- Cancel\n\n```python\nr\"^yt_cancel\\|(?P\u003cprocess_id\u003e[\\w\\.]+)$\"\n```\n\n\u003c/details\u003e\n\n### Module\n\n### [YouTube.py](https://github.com/code-rgb/droid/blob/master/droid/modules/youtube.py)\n  \n## Screenshots\n- **Telegram Bot:** https://t.me/iytdl_bot\n\n\u003e \u003cimg src=\"https://user-images.githubusercontent.com/88159798/136582521-ba5d0c75-5e44-4d2c-8bc7-365a1137d6a9.png\" width=\"30%\" /\u003e\u003cimg src=\"https://user-images.githubusercontent.com/88159798/136582483-2822123c-bb5c-47f3-8a71-5dc0fa0429ba.png\" width=\"30%\" /\u003e\u003cimg src=\"https://user-images.githubusercontent.com/88159798/136582503-c954c731-e0cc-444a-bd8d-9220a4e5e35c.png\" width=\"30%\" /\u003e\u003cimg src=\"https://user-images.githubusercontent.com/88159798/136582494-4193b4f2-9db0-4a5f-b799-deb81b7b3245.png\" width=\"30%\" /\u003e\u003cimg src=\"https://user-images.githubusercontent.com/88159798/136582514-bbac6cb4-0a49-4689-9da2-b30abb4de443.png\" width=\"30%\" /\u003e\u003cimg src=\"https://user-images.githubusercontent.com/88159798/136582506-f202cb07-3ce3-480b-8709-8d39f1f04540.png\" width=\"30%\" /\u003e\u003cimg src=\"https://user-images.githubusercontent.com/88159798/136582476-dac517f3-34b0-4497-96de-98031ace4a65.png\" width=\"30%\" /\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiytdl%2Fiytdl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiytdl%2Fiytdl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiytdl%2Fiytdl/lists"}