💚 Fix la dernière CI
This commit is contained in:
parent
25d18c7184
commit
6704dd5ff6
@ -27,7 +27,8 @@ class Safti extends Parser
|
||||
$currency = 'EUR';
|
||||
|
||||
$parsed_home->title = $property_single->filter('h1')->text();
|
||||
$parsed_home->price = $currency_formatter->parseCurrency($property_single->filter('.property__price')->text(), $currency);
|
||||
$parsed_home->price = $currency_formatter
|
||||
->parseCurrency($property_single->filter('.property__price')->text(), $currency);
|
||||
$parsed_home->city = $property_single->children()->children('div')->eq(1)->filter('p.h4')->text();
|
||||
$parsed_home->description = $crawler->filter('[data-testid="real-estate-annonce-single-description"]')->text();
|
||||
|
||||
@ -58,7 +59,10 @@ class Safti extends Parser
|
||||
}
|
||||
});
|
||||
|
||||
$parsed_home->pictures = $crawler->filter('[data-testid="real-estate-mosaic-photo"]')->filter('img')->each(static function($img) {
|
||||
$parsed_home->pictures = $crawler
|
||||
->filter('[data-testid="real-estate-mosaic-photo"]')
|
||||
->filter('img')
|
||||
->each(static function ($img) {
|
||||
return $img->attr('src');
|
||||
});
|
||||
|
||||
|
@ -140,7 +140,7 @@ class SeLoger extends Parser
|
||||
->filter('.swiper-wrapper')
|
||||
->first()
|
||||
->filter('[data-background]')
|
||||
->each(static function($img) {
|
||||
->each(static function ($img) {
|
||||
return $img->attr('data-background');
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user