Set Cookie for currency to CHF.
parent
1b59017694
commit
3a0c383a5d
|
@ -124,7 +124,9 @@ class Edomizil{
|
|||
$result['offer'] = $offer->body();
|
||||
|
||||
// scrape price of property
|
||||
$price = Http::get('https://www.e-domizil.ch/booking/checkout/priceDetails/'.$property->property_platform_id);
|
||||
$price = Http::withHeaders([
|
||||
'Cookie' => 'c=CHF',
|
||||
])->get('https://www.e-domizil.ch/booking/checkout/priceDetails/'.$property->property_platform_id);
|
||||
|
||||
if($price->successful()){
|
||||
|
||||
|
|
Loading…
Reference in New Issue