Skip to main content

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.13.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yteva-2025.4.13-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file yteva-2025.4.13.tar.gz.

File metadata

  • Download URL: yteva-2025.4.13.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for yteva-2025.4.13.tar.gz
Algorithm Hash digest
SHA256 14071e62801c0349c1c36d04d3d81581a72626731bb0d5a284cffda2928ae22d
MD5 a1cfa23037badfcc9a08f7294edf72e2
BLAKE2b-256 46c67ac11d069cda17dbd6e98f681b41336ef1a3b8f02d6400a0ddeba940799c

See more details on using hashes here.

File details

Details for the file yteva-2025.4.13-py3-none-any.whl.

File metadata

  • Download URL: yteva-2025.4.13-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for yteva-2025.4.13-py3-none-any.whl
Algorithm Hash digest
SHA256 912aaf784e772906347cf4bdb78a5534d841bd69d0d18d5e58888c5788f1a1ff
MD5 bfb40c7380f44e3a24a0b1b6f81058ea
BLAKE2b-256 9efbb34c4668830304cde6b1b7707a4796991ca7445ddb8779ec1d252c681156

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page