This project uses the Apify platform to scrape data from web pages, collect metadata, and store results in an Apify dataset. It features functions for managing date ranges, encoding identifiers, and handling large datasets, aiming to efficiently extract and store structured data for analysis.
This project is an Apify actor designed to scrape data from Airbnb property listings, including availability, pricing, and other details, over a given date range. The actor uses dynamic parameters for flexibility and stores the extracted data in Apify's dataset or a CSV file.
The script accepts the following inputs via Apify:
Parameter | Description | Example Value |
---|---|---|
startUrls | List of Airbnb listing URLs to scrape. | [{ "url": "https://www.airbnb.com/rooms/12345" }] |
checkInDate | Starting date for the scraping. | "2024-11-21" |
Stay_Days | Duration of each stay in days. | 1 |
numberOfDays | Total number of days to scrape data for. | 60 |
adults | Number of adults for the booking. | 2 |
children | Number of children for the booking. | 0 |
pets | Indicates if pets are included in the booking. | 0 |
Dynamic Date Generator:
checkInDate
, Stay_Days
, and numberOfDays
.Request Construction:
Data Collection:
Data Storage:
The script outputs a dataset with the following fields:
Field | Description |
---|---|
Check-In Date | The generated check-in date. |
Check-Out Date | The corresponding check-out date. |
Path | JSON path of the extracted data. |
Value | Value at the extracted JSON path. |
1{ 2 "startUrls": [ 3 { "url": "https://www.airbnb.com/rooms/12345" }, 4 { "url": "https://www.airbnb.com/rooms/67890" } 5 ], 6 "checkInDate": "2024-11-21", 7 "Stay_Days": 1, 8 "numberOfDays": 10, 9 "adults": "2", 10 "children": "0", 11 "pets": "0" 12}
The script logs progress and errors to the console, including:
Yes, if you're scraping publicly available data for personal or internal use. Always review Websute's Terms of Service before large-scale use or redistribution.
No. This is a no-code tool — just enter a job title, location, and run the scraper directly from your dashboard or Apify actor page.
It extracts job titles, companies, salaries (if available), descriptions, locations, and post dates. You can export all of it to Excel or JSON.
Yes, you can scrape multiple pages and refine by job title, location, keyword, or more depending on the input settings you use.
You can use the Try Now button on this page to go to the scraper. You’ll be guided to input a search term and get structured results. No setup needed!