yteva library for downloading audio and videos from YouTube and details about them.
Project description
YTeva
YTeva is a Python library that fetches and downloads audio files using Pyrogram.
Installation
pip install yteva
Usage
This is for Pyrogram users.
from pyrogram import Client
from yteva import YTeva
app = Client("my_bot", api_id=123456, api_hash="your_api_hash", bot_token="your_bot_token")
yteva = YTeva(api_key="your_api_key", bot_app=app)
async async def main():
await app.start()
result = await yteva.download_audio("your_video_id")
print("Downloaded:", result)
await app.stop()
If you are using any program you can extract the link
from yteva import YTeva_direct
async def main():
yd = YTeva_direct(api_key="API_KEY")
test = await yd.play_audio_direct("VIDEO_ID")
print(test)
if __name__ == "__main__":
asyncio.run(main())
License
MIT License
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
yteva-2025.4.11.tar.gz
(2.7 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
File details
Details for the file yteva-2025.4.11.tar.gz.
File metadata
- Download URL: yteva-2025.4.11.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1bec71df358fde0a21577ae10f9d8cb9a212bb8b7260b1de77e24dd3db68ca6
|
|
| MD5 |
486ad03d531df6cc32fe162b93f8f1e9
|
|
| BLAKE2b-256 |
8ca6765df6faa0d411191df9762341d90e0d34e548f233f1e0195855dfab303c
|
File details
Details for the file yteva-2025.4.11-py3-none-any.whl.
File metadata
- Download URL: yteva-2025.4.11-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fd885c9bbf45acffe1809507f0ad9a8aef36492e5d2055e9597a01ae99366da7
|
|
| MD5 |
5430a3a875b6aa986afbd0d125519f93
|
|
| BLAKE2b-256 |
2000fe8be6d86051100284385afe85a9cff81fe3547ffe3f35a35f3aa252c010
|