/visa_web_scraper

A scraper that looks for availability of Visa appointments on https://ais.usvisa-info.com and tells you through Telegram.

Primary LanguagePython

Visa appointments scraper

This scraper is made for checking the ais.usvisa-info.com site in time intervals. It logs you in, and scrape the payment site and when there's an available appointment (a change on the original site where there are not appointments) it will notify you through a Telegram bot.

TODO

  • Function to log in.
  • Add a timestamp to each run.
  • Implement the screenshot.
  • Add interaction with the bot.
  • Get the Telegram bot to answer last and next check status.
  • Add tests.
  • Add requiriments.

Installation

  1. Install chromedriver
  2. Install requirements

Usage

Run via SSH on a Raspberry. The process will create a

nohup python3 selenium_scraper.py &

Run tests

python3 -m unittest test_selenium_scraper