a small scraper I did for the civil registry in Uruguay, a Telegram bot that sends me a message when there are new appointments
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Roger Gonzalez b1f71e79f1 Added a comment on the README 1 week ago
.env.example Initial commit 1 week ago
.gitignore Initial commit 1 week ago
README.md Added a comment on the README 1 week ago
app.py Initial commit 1 week ago
requirements.txt Initial commit 1 week ago

README.md

Registro Civil Scraper

A small scraper I did with Selenium for the civil registry in Uruguay, a Telegram bot that sends me a message when there are new appointments.

What do you need?

  • python3 and pip3
  • A Telegram APP (talk to @BotFather for that).
  • A way to run cronjobs.

How to use it?

  • Create a local copy of the .env.example file with your own credentials.
cp .env.example .env
  • Install your dependencies.
pip3 install -r requirements.txt
  • Run it!
./app.py
  • (Optional) Set a cronjob.
crontab -e
...
# Run the script every 30 mins
*/30 * * * * /usr/bin/python3 my/script/location/app.py >> my/script/location/log.txt

License

The files and scripts in this repository are licensed under the MIT License, which is a very permissive license allowing you to use, modify, copy, distribute, sell, give away, etc. the software. In other words, do what you want with it. The only requirement with the MIT License is that the license and copyright notice must be provided with the software.