A Telegram bot that downloads videos, images, GIFs from Pinterest based on user input and sends it back to the user via Telegram.
Category | Support |
---|---|
Language | Python 3.6 and above |
$ git clone https://github.com/Dineshkarthik/pinterest-telegram-bot.git
$ cd pinterest-telegram-bot
$ pip3 install -r requirements.txt
TOKEN: 'YOUR_BOT_TOKEN'
WEBHOOK_URL: 'https://<YOUR_APP_NAME>.herokuapp.com'
REDIS_URL: 'redis://<USER_NAME>:<PASSWORD>@<HOST>:<PORT>'
- token - Your Telegram Bot API Token, to get the token follow the instructions available here.
- webhook_url - Heroku app url. Instructions for deploying a python to heroku app can be found here.
- redis_url - Redis is used to cache scraped urls to increase performance, check how to use heroku redis here.
$ python3 pinterest_telegram_bot.py