Webscraping AirBnB using Raspberry Pi, Python and Beautiful Soup
Dr Pi
I use my Pi Zero to automate an AirBnB search that I sometimes do. I get bored of clicking lots of buttons and dates and filters so thought I'd use Beautiful Soup to automate it.
Next: I'll automate it sending me an email, mid-week. I will ad some code so that it searches with checkin date of the closest Friday/Saturday date to the current date.
As you may have noticed I've set it to include "hot tub" in the filter. By modifying the filter and observing the way the subsequent URL changes you can adapt the code to suit your particular requirements. Eg if you need a hairdryer, or a helicopter landing pad, or whatever the f you want!
Check out the Minimalist online python IDE : https://epyco.herokuapp.com/ https://epico.herokuapp.com/
Buy Dr Pi a Coffee...or Tea! : https://www.buymeacoffee.com/DrPi ... https://www.youtube.com/watch?v=bJBXCKV21D4
181052600 Bytes