properly define urls
This commit is contained in:
parent
7bbb113f92
commit
e0cb4118f8
11 changed files with 12 additions and 12 deletions
|
|
@ -23,7 +23,7 @@ from .pages import CityListPage, HousingListPage, HousingPage
|
|||
|
||||
|
||||
class LeboncoinBrowser(PagesBrowser):
|
||||
BASEURL = 'http://www.leboncoin.fr'
|
||||
BASEURL = 'http://www.leboncoin.fr/'
|
||||
city = URL('ajax/location_list.html\?city=(?P<city>.*)&zipcode=(?P<zip>.*)', CityListPage)
|
||||
search = URL('(?P<type>.*)/offres/(?P<region>.*)/occasions/\?ps=(?P<ps>.*)&pe=(?P<pe>.*)&ros=(?P<ros>.*)&location=(?P<location>.*)&sqs=(?P<sqs>.*)&sqe=(?P<sqe>.*)&ret=(?P<ret>.*)&f=(?P<advert_type>.*)',
|
||||
'(?P<_type>.*)/offres/(?P<_region>.*)/occasions.*?',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue