Skip to content

Bot to track the cats shelter and be the fastest to call

Notifications You must be signed in to change notification settings

ignigoliz/i-need-a-cat-asap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

I Need a Cat ASAP

Cat shelter's logo

Copenhagen's cat shelters are highly monitorized by desperate cat seekers who spend the whole day refreshing the website. The few offers of adoption for flat-cats get taken in a matter of hours. In a desperate race to be the fastest one to call when a new cat is available, this bot webscraps the shelter's website and notifies me over email when a new cat is available for adoption.

A RaspberryPi running the code will have the solely mission to check if new kittens are available for adoption. If that is the case it will email me, another eager cat seeker.

In order to use it for your own cat-seeking, provide the following information in config.yml:

sender_email: xxx@gmail.com
password: abc123
receiver_mail: zzz@zzz.com

Moreover, to run the file every, e.g., 5 minutes, schedule a crontab job in the RaspberryPi using crontab -e:

*/5 * * * * /home/pi/Documents/Proyects/INeedACat/find_cat.sh

About

Bot to track the cats shelter and be the fastest to call

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published