π What is a Trip.com hotel listing scraper?
This template reads submitted Trip.com hotel listing URLs and collects hotel names, ratings, star ratings, review counts, locations, prices, detail URLs, and total-result context for the requested number of pages. It supports destination research, hotel supply analysis, rate comparison, competitive monitoring, and detail-page URL discovery.
Data is collected from Trip.com Hotels. Trip.com is an international travel platform where users search and compare hotels and other travel services.
π° Pricing
This template is currently free of charge and has no per-line usage fee. Octoparse plan or resource limits may still apply.
π¦ Output
Trip.com Scraper (Listing URL) returns these fields:
Web_Page_URLHotel_NameRatingStar_RatingNumber_of_ReviewsLocationPriceDetail_urltotal_numsCurrent_Time
{
"Web_Page_URL": "https://www.trip.com/hotels/list?city=633&cityName=New%20York&provinceId=0&countryId=66&districtId=0&checkin=2024/04/10&checkout=2024/04/11&barCurr=HKD&searchType=CT&searchWord=New%20York&crn=1&adult=2&children=0&searchBoxArg=t&travelPurpose=0&ctm_ref=ix_sb_dl&domestic=true",
"Hotel_Name": "New York Hilton Midtown",
"Rating": "4.2/5",
"Star_Rating": "4",
"Number_of_Reviews": "182 reviews",
"Location": "Near The Museum of Modern Art Midtown WestShow on Map",
"Price": "US$269",
"Detail_url": "https://www.trip.com/hotels/detail/?hotelId=1352621",
"total_nums": "832 properties foundSort by: Trip.com RecommendedPrice per room per night (excl. taxes & fees)",
"Current_Time": "2024-04-22 16:40:18.3566"
}
π― Use Cases
- Compare displayed hotel prices, ratings, star levels, review volume, and locations.
- Map hotel supply and result counts for selected destinations or search criteria.
- Build hotel detail-page URL lists for deeper property enrichment.
- Monitor destination-level listing and rate changes across repeated runs.
π Why Octoparse
- Built for Trip.com Hotels: The template opens each submitted Trip.com hotel listing URL, collects up to the configured number of result pages, loops through the hotel cards, and exports one structured row per property.
- Inputs match the workflow: The form uses URL (up to 10,000 entries), Number of pages (1-10) (1 to 10), and Number of pages.
- Fields stay connected: Trip.com Scraper (Listing URL) returns
Hotel_Name,Web_Page_URL,Rating,Location, andStar_Ratingin the same structured dataset. - Ready for repeat use: After Trip.com Scraper (Listing URL) runs in the cloud, schedule eligible tasks and export the rows for spreadsheets, dashboards, APIs, or AI workflows.
π Input
Complete the following fields:
- URL (Required) β Enter List Page URL. Up to 10,000 entries per run.
- Number of pages (Required) β Enter page number (1-10). Accepted range: 1 to 10.
π How to Use
- Open Trip.com Scraper (Listing URL) and click Try it!.
- Complete URL, Number of pages (1-10), and Number of pages using the formats and limits shown in the Input section.
- Run it in the Octoparse cloud and start the task.
- Review fields such as
Hotel_Name,Web_Page_URL, andRating, then export the rows in the format you need.
π‘ Tips
- Test one representative value in URL before submitting a large batch to Trip.com Scraper (Listing URL).
- Keep
Web_Page_URLin the export so every row can be traced to its originating input or page.
β FAQ
How many entries can Trip.com Scraper (Listing URL) accept in URL per run?
Enter up to 10,000 values in URL per run.
Which Trip.com Hotels pages does Trip.com Scraper (Listing URL) process?
The workflow is configured for listing pages and returns fields such as Hotel_Name, Web_Page_URL, Rating, and Location.
What can I use data from Trip.com Scraper (Listing URL) for?
Compare displayed hotel prices, ratings, star levels, review volume, and locations.
π Related Templates
- Trip.com Scraper β Pass a collected Trip.com hotel detail URL to the hotel details scraper.
- TripAdvisor Scraper (Hotel Listing) β Collect comparable hotel listings and detail URLs from Tripadvisor.
- TripAdvisor Scraper (Hotel Details) β Collect comparable hotel details from Tripadvisor.