Skip to content

VXTwitter & Invidious Link handling Telegram Bot for Twitter and Youtube in Python :)

Notifications You must be signed in to change notification settings

mewmix/vxtwitter-invidious-telegram-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

vxtwitter-invidious-telegram-bot

Example

Example

Install :

git clone https://github.com/mewmix/vxtwitter-invidious-telegram-bot.git

Navigate to the cloned directory:

cd vxtwitter-invidious-telegram-bot

Install the required Python packages:

pip install -r requirements.txt

Create a new bot in Telegram and obtain the bot token. For instructions on how to do this, see Telegram's bot father.

Create a new .env file in the project directory and add the following line:

TELEGRAM_TOKEN=your_bot_token_here

Replace your_bot_token_here with the bot token obtained in step 4.

Run the bot:

python bot.py

That's it! You should now be able to use the bot to convert YouTube and Twitter links to alternative URLs in your Telegram conversations.

To trigger the url conversion just tag the bot in conversation. For twitter links they will be automatically handled and the original message will be deleted after being processed. The user that sent the message will be tagged upon its completion.

If you encounter any issues, please refer to the project's Github page for further information or contact me on telegram.

Permissions

Talk to bot father - make sure Group Privacy is Off & The Bot Requests Delete Posts in Admin Rights

Screen Shot 2023-03-14 at 11 10 56 PM

Screen Shot 2023-03-14 at 11 11 03 PM

Screen Shot 2023-03-14 at 11 11 11 PM

About

VXTwitter & Invidious Link handling Telegram Bot for Twitter and Youtube in Python :)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages