ytt module For Python
for install this module, Run This command:
pip install ytt
for import:
from ytt import ytt
Usage:
start_all(YouTube_channel_id,telegram_bot_token,bot_chatID,send_channel_or_group_id=None):
Using this function in your Python application, you can download all the videos of a YouTube channel and transfer them to Telegram.
YouTube_channel_id (str): ID of Youtube Channel You want To send All videos of This channel to Telegram,
telegram_bot_token (str): Your Telegram Bot Token (If you have not made a telegram bot, create a bot through this bot in Telegram: @BotFather),
bot_chatID (str): ChatID of your Telegram Channel, Group or Chat,
send_channel_or_group_id (bool): If You want to append Your channel or Group ID to the end of post, You can send True, But if you Do not want to Use it, leave it empty!
Download_only(YouTube_channel_id):
Download All videos Of a Youtube Channel Only.
YouTube_channel_id (str): ID of YouTube channel
upload_downloaded_videos(telegram_bot_token,bot_chatID,send_channel_or_group_id=None):
Upload Downloaded videos with Download_only Function to Telegram
Usage:
telegram_bot_token (str): Your Telegram Bot Token (If you have not made a telegram bot, create a bot through this bot in Telegram: @BotFather),
bot_chatID (str): ChatID of your Telegram Channel, Group or Chat,
send_channel_or_group_id (bool): If You want to append Your channel or Group ID to the end of post, You can send True, But if you Do not want to Use it, leave it empty!
Metadata
Release files for ytt 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ytt-1.0.0.tar.gz | 14.8 kB | Without provenance | Details for ytt-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ytt-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for ytt-1.0.0-py3-none-any.whl |
Total release size: 30.1 kB
Release files / ytt-1.0.0.tar.gz
| Download URL | ytt-1.0.0.tar.gz |
|---|---|
| Size | 14.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2a2d5dfe86580b81d66137702e2e7c7cef15bf14b1e89422f385921957ca222f
|
|
BLAKE2b-256 checksum How to use checksums |
224a34487b411e2b67a1ae278f69e15d610dda4f56c400acca59516ba5ec14f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
|
Release files / ytt-1.0.0-py3-none-any.whl
| Download URL | ytt-1.0.0-py3-none-any.whl |
|---|---|
| Size | 15.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
332dd4ca17408480d0fa70215da319fa7a76762544de129b86deb320f35daa3e
|
|
BLAKE2b-256 checksum How to use checksums |
4f246616adc9b793701f45e266c4a7a612ca349ff15a678f797c8a0f1841743b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
|
Security for ytt 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.