
Rightmove Scraper
- epctex/rightmove-scraper
- Modified
- Users 3
- Runs 342
- Created by
epctex
Rightmove.co.uk properties are at your fingertips! In seconds, retrieve every real estate opportunity with tax history, floor plans, titles, prices, descriptions, amenities, images, addresses, and many more attributes. Search anything you want and get the results without any limits. Blazing fast!
To run the code examples, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token. For a more detailed explanation, please read about running Actors via the API in Apify Docs.
from apify_client import ApifyClient
# Initialize the ApifyClient with your API token
client = ApifyClient("<YOUR_API_TOKEN>")
# Prepare the Actor input
run_input = {
"startUrls": [
"https://www.rightmove.co.uk/properties/133723646/",
"https://www.rightmove.co.uk/properties/130147355/",
"https://www.rightmove.co.uk/property-to-rent/find/PropertyLoop/London.html?locationIdentifier=BRANCH%5E222287&propertyStatus=all&includeLetAgreed=true&_includeLetAgreed=on",
"https://www.rightmove.co.uk/property-for-sale/find/Foxtons/Chiswick.html?locationIdentifier=BRANCH%5E15951&includeSSTC=true&_includeSSTC=on",
"https://www.rightmove.co.uk/student-accommodation/find.html?locationIdentifier=REGION%5E87490&insId=1",
"https://www.rightmove.co.uk/property-for-sale/find.html?locationIdentifier=REGION%5E87490&propertyTypes=&includeSSTC=false&mustHave=&dontShow=&furnishTypes=&keywords=",
"https://www.rightmove.co.uk/property-to-rent/find.html?searchType=RENT&locationIdentifier=REGION%5E87490&insId=1&radius=0.0&minPrice=&maxPrice=&minBedrooms=&maxBedrooms=&displayPropertyType=&maxDaysSinceAdded=&sortByPriceDescending=&_includeLetAgreed=on&primaryDisplayPropertyType=&secondaryDisplayPropertyType=&oldDisplayPropertyType=&oldPrimaryDisplayPropertyType=&letType=&letFurnishType=&houseFlatShare=",
"https://www.rightmove.co.uk/new-homes-for-sale/find.html?searchType=SALE&locationIdentifier=REGION%5E87490&insId=1&radius=0.0&minPrice=&maxPrice=&minBedrooms=&maxBedrooms=&displayPropertyType=&maxDaysSinceAdded=&_includeSSTC=on&sortByPriceDescending=&primaryDisplayPropertyType=&secondaryDisplayPropertyType=&oldDisplayPropertyType=&oldPrimaryDisplayPropertyType=&newHome=true&auction=false",
"https://www.rightmove.co.uk/property-for-sale/find.html?locationIdentifier=REGION%5E87490&index=48&propertyTypes=&includeSSTC=false&mustHave=&dontShow=&furnishTypes=&keywords=",
"https://www.rightmove.co.uk/property-to-rent/find.html?locationIdentifier=REGION%5E87490&index=960&propertyTypes=&includeLetAgreed=false&mustHave=&dontShow=&furnishTypes=&keywords=",
],
"maxItems": 20,
"endPage": 1,
"extendOutputFunction": "($) => { return {} }",
"customMapFunction": "(object) => { return {...object} }",
"proxy": { "useApifyProxy": True },
}
# Run the Actor and wait for it to finish
run = client.actor("epctex/rightmove-scraper").call(run_input=run_input)
# Fetch and print Actor results from the run's dataset (if there are any)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)