Skip to content

Runs an Airbnb search to find which page your listing is on, then scrapes other useful data!

Notifications You must be signed in to change notification settings

mattokc35/AirbnbScrapeAndSearcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

work in progress

This program runs an Airbnb search and returns what page your listing lands on. Additionally, it scrapes data about your listing and all other listings found in the search, and writes this data to both a .csv and .txt file

AirbnbScrapeAndSearcher

This program runs an Airbnb searches and returns what page your listing lands on for each search. Additionally, it scrapes data about your listing and all other listings found in the search, and writes this data to both a .csv and .txt file.

Installing Requirements

To get started, install requirements bs4 and scrapy with pip.

pip3 bs4, scrapy

Running the Program

Put your search parameters in the InputParameters.csv file.

Location must be space-separated with '-' (dashes), and date must be written with yyyy-mm-dd formatting.

Children, infants, and pets are optional parameters and will default to 0.

Each line in the CSV file will correspond to new Airbnb search that will be performed by search.py.

To run the program, simply run

python3 script.py

Alternatively, you can run search.py individually and input your parameters manually as such:

python3 search.py --location=<my-location> --checkin=2023-05-09 --checkout=2023-05-11 --adults=10 --children=0 
                  --infants=0 --pets=0 --my_listing=<your-listing-id-here>

About

Runs an Airbnb search to find which page your listing is on, then scrapes other useful data!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages