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

https://github.com/ynnckth/f1-tickets-scraper

F1 Singapore GP Tickets Scraper Bot
https://github.com/ynnckth/f1-tickets-scraper

cheerio scraper telegram typescript

Last synced: about 1 month ago
JSON representation

F1 Singapore GP Tickets Scraper Bot

Awesome Lists containing this project

README

          

# F1 Tickets Scraper

*Telegram bot that scrapes daily for new available tickets for the Singapore F1 Grand Prix*

## Usage

Find and add the `f1_tickets_bot` user to your Telegram group chat (like adding a regular user)
Run the initialization command by sending a message:
> /init

## Deployment

**Prerequisites**

- Docker
- Telegram bot token (Telegram bot should have been created in advance through BotFather)

**Build and run using Docker**

1. Retrieve the bot's Telegram token through the BotFather
2. Build and run a docker container

```shell
# Build the docker image
$ docker build -t f1tickets .

# Run a container
$ docker run -d \
--name f1tickets \
--restart unless-stopped \
-e TELEGRAM_TOKEN= \
f1tickets
```