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.
|
10 months ago | |
---|---|---|
.env.example | 10 months ago | |
.gitignore | 10 months ago | |
README.md | 10 months ago | |
app.py | 10 months ago | |
requirements.txt | 10 months 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
andpip3
- 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.