rightmove_webscraper.py icon indicating copy to clipboard operation
rightmove_webscraper.py copied to clipboard

floorplan urls no longer working

Open T00fy opened this issue 3 years ago • 1 comments

Looks like the xpath changed:

xp_floorplan_url = """//*[@id="floorplanTabs"]/div[2]/div[2]/img/@src"""

id floorplanTabs is no longer available on the main page. On inspecting the elements there appears to be an attempt at obfuscation.

This should be able to be fixed by replacing with: xp_floorplan_url = """//*[contains(@alt, 'Floorplan')]/@src"""

T00fy avatar Oct 16 '22 15:10 T00fy

Apologies for the delay! I tried running this version and the old version on a test url and neither returned any floorplan URLs. Are you able to provide a sample URL for testing which demonstrates the new version downloading anything?

toby-p avatar Apr 04 '23 01:04 toby-p