Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
pau1mi11er committed Aug 19, 2017
1 parent a0f2ab0 commit 6bd3600
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.py
Expand Up @@ -100,7 +100,7 @@ def scrape_results_page(results_url, town, initial=False):
station_name = station.keys()[0].title()
print 'Scraping Station %s' % station_name
station_id = station.values()[0]
url1 = '/property-for-sale/find.html?searchType=SALE&locationIdentifier=REGION%s&minPrice=%s&maxPrice=%s' % (station_id, MIN_PRICE, MAX_PRICE)
url1 = 'www.rightmove.co.uk/property-for-sale/find.html?searchType=SALE&locationIdentifier=REGION%s&minPrice=%s&maxPrice=%s' % (station_id, MIN_PRICE, MAX_PRICE)
url2 = '&minBedrooms=%s&displayPropertyType=houses&oldDisplayPropertyType=houses&radius=%s' % (MIN_BEDROOMS, RADIUS_MILES)
# displayPropertyType=detachedshouses
INITIAL_URL = url1 + url2
Expand Down

0 comments on commit 6bd3600

Please sign in to comment.