Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Dineshkarthik/pinterest-telegram-bot

Downloads Pinterest image from the given Pinterest shared URL and sends it back in telegram
https://github.com/Dineshkarthik/pinterest-telegram-bot

python telegram-bot

Last synced: 3 months ago
JSON representation

Downloads Pinterest image from the given Pinterest shared URL and sends it back in telegram

Awesome Lists containing this project

README

        


Pinterest Telegram Bot


License: MIT
Code style: black

### Overview:
A Telegram bot that downloads videos, images, GIFs from Pinterest based on user input and sends it back to the user via Telegram.

![demo](demo.gif)

### Support:
| Category | Support |
|--|--|
|Language | `Python 3.6 ` and above|

### Installation

```sh
$ git clone https://github.com/Dineshkarthik/pinterest-telegram-bot.git
$ cd pinterest-telegram-bot
$ pip3 install -r requirements.txt
```

## Configuration

TOKEN: 'YOUR_BOT_TOKEN'
WEBHOOK_URL: 'https://.herokuapp.com'
REDIS_URL: 'redis://:@:'

- token - Your Telegram Bot API Token, to get the token follow the instructions available [here](https://core.telegram.org/bots#6-botfather).
- webhook_url - Heroku app url. Instructions for deploying a python to heroku app can be found [here](https://devcenter.heroku.com/articles/getting-started-with-python).
- redis_url - Redis is used to cache scraped urls to increase performance, check how to use heroku redis [here](https://devcenter.heroku.com/articles/heroku-redis).

## Execution
```sh
$ python3 pinterest_telegram_bot.py
```