Commit 8f5e2926 authored by Bezleputh's avatar Bezleputh

[explorimmo] fix advert url

parent d6db8a10
Pipeline #1943 passed with stages
in 16 minutes and 28 seconds
......@@ -29,7 +29,7 @@ class ExplorimmoBrowser(PagesBrowser):
cities = URL('/rest/locations\?q=(?P<city>.*)', CitiesPage)
search = URL('/annonces/resultat/annonces.html\?(?P<query>.*)', SearchPage)
housing_html = URL('/annonce-(?P<_id>.*).html', HousingPage)
housing_html = URL('/annonces/annonce-(?P<_id>.*).html', HousingPage)
phone = URL('/rest/classifieds/(?P<_id>.*)/phone', PhonePage)
housing = URL('/rest/classifieds/(?P<_id>.*)',
'/rest/classifieds/\?(?P<js_datas>.*)', HousingPage2)
......
......@@ -192,7 +192,7 @@ class SearchPage(HTMLPage):
)
obj_url = Format(
"http://www.explorimmo.com/annonce-%s.html",
"https://immobilier.lefigaro.fr/annonces/annonce-%s.html",
CleanText('./@data-classified-id')
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment