Skip to content

Telegram Bot that will download videos from Reddit, Insta, or X and respond back with the video. Works with privately shared vids as well

License

Notifications You must be signed in to change notification settings

AStrayByte/telegram_vid_bot

Repository files navigation

Instructions

1. Create venv

pyenv install 3.10

pyenv virtualenv 3.10 telegrambot

2. Install requirements

pip install -r requirements.txt

3. Run the following bash command to install playwright browsers

playwright install

4. Save instagram or twitter credentials etc

playwright open --save-storage twitter.json

Using yt-dlp

use cookies.txt addon for firefox to download cookies to a text file. save in twittercookies.txt call:

yt-dlp --cookies storage_states/twittercookies.txt "https://x.com/usernamehere/status/123456789876543\?s\=20" # this is a fake url

About

Telegram Bot that will download videos from Reddit, Insta, or X and respond back with the video. Works with privately shared vids as well

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published