This page uses the amazing work @ https://rpilocator.com to notify via Telegram if there is any available stock.
- Install and run
bundle
gem, to get required dependencies. - Check kimurai installation docs, as you will need to install manually selenium-chromedriver. Make sure to not use the link provided there to download chromedriver, as it is so old it will fail to run the script with it. Check your Chrome/Chromium version and download proper version here.
- Fill .env file with the required environment variables (example @
.env.example
).
Run ruby src/index.rb
.
- dotenv, for getting environment variables.
- kimurai, for web scraping.
- rufus-scheduler, for cron jobs.
- telegram-bot-ruby, for sending Telegram messages.