Skip to main content

A class for scraping data from

Project description

# rightmove-webscraper is one of the UK’s largest property listings websites, hosting thousands of listings of properties for sale and to rent. is a simple Python interface to scrape property listings from the website and prepare them in a Pandas dataframe for analysis.

## Installation

Version 1.0 is now available to install via Pip:

pip install -U rightmove-webscraper

## How to use

  1. Go to “” and search for whatever listings you are interested in …
  2. Filter the search however you choose …
  3. Run the search and copy the URL of the results page …
  4. Create an instance of the class on the URL …

` from rightmove_webscraper import RightmoveData

url = “” rm = RightmoveData(url) `

  1. Access the data using the methods and attributes of the object …

Get the average price of all listings returned by the search:

` rm.average_price `

Show the total number of listings returned by the search:

` rm.results_count `

Access the full results as a Pandas dataframe at the <code>.get_results</code> attribute.

` rm.get_results `

Get quick summary statistics of the results, showing the number of listings and average price grouped by the number of bedrooms:

` rm.summary() `

Alternatively group the results by any other column returned in the <code>.get_results</code> DataFrame, for example Postcode:

` rm.summary(by=”postcode”) `

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rightmove_webscraper-1.0.2.tar.gz (1.0 MB view hashes)

Uploaded source

Built Distributions

rightmove_webscraper-1.0.2-py2.py3-none-any.whl (6.6 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page