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
- Host: GitHub
- URL: https://github.com/ynnckth/f1-tickets-scraper
- Owner: ynnckth
- Created: 2024-07-09T14:58:19.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-10T10:41:21.000Z (almost 2 years ago)
- Last Synced: 2024-07-10T13:52:37.922Z (almost 2 years ago)
- Topics: cheerio, scraper, telegram, typescript
- Language: TypeScript
- Homepage:
- Size: 31.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```