The apartment's website was really easy to scrape! I set up a cron job to run every five minute, which would use npmjs.com/package/cheerio to scrape the listing, and based on the html structure (I think apartments available to lease would have a with "Available" in it). Soon as it noticed that the particular floorplan I wanted was available, it send an email using npmjs.com/package/nodemailer
How do you write a script that emailed you when the apartment you wanted to move into was made available to lease?
The apartment's website was really easy to scrape! I set up a cron job to run every five minute, which would use npmjs.com/package/cheerio to scrape the listing, and based on the html structure (I think apartments available to lease would have a with "Available" in it). Soon as it noticed that the particular floorplan I wanted was available, it send an email using npmjs.com/package/nodemailer
Cool. Will look into it
feel free to reach out if you need any help!
Every 5 minutes? You were really keen to get that apartment 😂
Great idea
hahah I was!! And I knew they were going fast so I wanted to leave nothing to chance