The new woob repository is here: https://gitlab.com/woob/woob. This gitlab will be removed soon.

Commit 5ce1b593 authored by Guntra's avatar Guntra Committed by Vincent A

[lesterrains] better housing URL

parent 3a155d65
......@@ -41,7 +41,11 @@ class LesterrainsBrowser(PagesBrowser):
search = URL('/index.php\?mode_aff=liste&ongletAccueil=Terrains&(?P<query>.*)&distance=0', SearchPage)
housing = URL('/index.php\?page=terrains&mode_aff=un_terrain&idter=(?P<_id>\d+).*', HousingPage)
housing = URL(
'/index.php\?page=terrains&mode_aff=un_terrain&idter=(?P<_id>\d+).*',
'/index.php\?page=terrains&mode_aff=maisonterrain&idter=(?P<_id>\d+).*',
HousingPage
)
def get_cities(self, pattern):
return self.cities.open(city=pattern).get_cities()
......
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