From 142017efd6ab751c26934e731071e9bb9cd46365 Mon Sep 17 00:00:00 2001 From: l3d00m Date: Wed, 12 Jun 2024 13:21:07 +0200 Subject: [PATCH 1/2] fix berlinhaus (new website); remove gesobau (with registration now) --- places/berlin.ini | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/places/berlin.ini b/places/berlin.ini index f249dd9..c82fc92 100644 --- a/places/berlin.ini +++ b/places/berlin.ini @@ -81,20 +81,11 @@ location_path = a/div[2]/span:(?<=\|).* rooms_path = a/div[2]/ul[@class='article__properties']/li[1]/span [company:www.berlinhaus.com] -url = https://www.berlinhaus.com/suchergebnisse/?filter_search_action[]=wohnen&advanced_city=berlin&zimmeranzahl-ab=1 -ad_path = .//div[@class='col-md-12 listing_wrapper'] -url_path = div/h4/a/@href -title_path = div/h4/a -location_path = div/div[2]/a[1] -rooms_path = div/div[4]/div[2] - -[company:www.gesobau.de] -url = https://www.gesobau.de/mieten/wohnungssuche -ad_path = .//div[@class='teaserList__item results-entry wohnungssuche'] -url_path = article/div/div[2]/h3/a/@href -title_path = article/div/div[2]/h3/a -location_path = article/div/div[2]/div[1]/span -rooms_path = article/div/div[2]/div[2]/span[1] +url = https://www.berlinhaus.com/mietangebote/?frymo_query=%%7B%%22test%%22%%3A%%7B%%22marketing_type%%22%%3A%%22655%%22%%2C%%22type%%22%%3A%%22wohnung%%22%%2C%%22location%%22%%3A%%22702%%22%%7D%%7D +ad_path = .//div[@class='frymo-listing-content'] +url_path = h3/a/@href +title_path = h3/a +rooms_path = div[2]/span[2]/div[1] [company:www.howoge.de] url = https://www.howoge.de/?type=999&tx_howsite_json_list[action]=immoList From 150ea7fda337d9d655f09854f0d5748c8c7007a3 Mon Sep 17 00:00:00 2001 From: l3d00m Date: Wed, 12 Jun 2024 13:32:23 +0200 Subject: [PATCH 2/2] fix: missing location path, set to title for now --- places/berlin.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/places/berlin.ini b/places/berlin.ini index c82fc92..8238313 100644 --- a/places/berlin.ini +++ b/places/berlin.ini @@ -86,6 +86,7 @@ ad_path = .//div[@class='frymo-listing-content'] url_path = h3/a/@href title_path = h3/a rooms_path = div[2]/span[2]/div[1] +location_path = h3/a [company:www.howoge.de] url = https://www.howoge.de/?type=999&tx_howsite_json_list[action]=immoList