Priceline.com is a popular online travel agency founded in 1997 in Norwalk, Connecticut. The agency is owned by Booking Holdings, the parent company of Kayak.com, Booking.com and other travel websites. Priceline sells discount hotel bookings, cruises, tours, car rentals and even attractions. The company has worked with William Shatner, Theresa Caputo and Kaley Cuoco as endorsed spokespersons.
In this guide, we will be scraping last-minute discounted cruises on Priceline.com with ParseHub, our free web scraper!
To follow along with this tutorial, download ParseHub for free.
Let’s scrape Priceline.com!
Scraping Cruise Vacations
- Firstly, open ParseHub on your Windows, Mac or Linux system.
- Click the blue “New Project” button on the homepage.
- Enter the Priceline URL you want to scrape from, we will choose this URL to scrape last-minute cruise deals: https://cruises.priceline.com/promotion/cheap-cruises.do
- Click the first cruise title to extract it, it should turn green and the rest should turn yellow.
- Click the next cruise and now all cruises should be extracted!
- Rename this selection on the left to “cruise”.
Scraping Additional Details
We can now scrape additional information for each cruise vacation, using the Relative Select tool on ParseHub.
- Firstly, click the PLUS(+) button next to your “cruise” selection and choose “Relative Select”
- Click the first vacation title again and point the arrow to the cruise ship below and click it.
- Redo this for the next cruise, to train the ParseHub algorithm.
- Rename this selection on the left to “ship”.
- Redo steps 1 to 4 for other details such as the cruise destinations, price and reviews!
Start Scraping
Once you are done making your data selections and relative selects, you are ready to begin scraping!
To begin your scrape, click the green “Get Data” button on the left pane, or under the settings cog at the top left. You may now Test, Run or Schedule your scrape. We chose “Run” to run the scrape a single time, but you can schedule it if you need up-to-date prices!
If you followed along, your data should look like this:
That concludes our web scraping guide! If you require additional assistance with web scraping, feel free to reach out to our live chat support.
Happy Scraping! 🚢