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.14.tar.gz (3.5 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.14-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: yteva-2025.4.14.tar.gz
  • Upload date:
  • Size: 3.5 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.14.tar.gz
Algorithm Hash digest
SHA256 d2f9489e4a996bce116578761843067ed78a4ede020628047b5fb9f6e5850d35
MD5 5b9f29579c7b403ffbd973fc3924c5ef
BLAKE2b-256 05280f157f0178f6dca50763f87935408dd72de0ef5ae70666f3c0d80ffae0de

See more details on using hashes here.

File details

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

File metadata

  • Download URL: yteva-2025.4.14-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.14-py3-none-any.whl
Algorithm Hash digest
SHA256 6e309486c249f053e3ba285a88175f1db9020f31500a4b17d5a4e5f8cddf8612
MD5 1c5b16e853c2c32fb2fcacf08e3ac513
BLAKE2b-256 5b3d532c9aa0f854569de533673a104bce4a8ab32c10c60e327e74af13f51a9f

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