Merge pull request #163 from polo2ro/master
Fix url for par vendu immo bridge
This commit is contained in:
commit
23f0fa3ed8
1 changed files with 3 additions and 1 deletions
|
@ -61,8 +61,10 @@ class ParuVenduImmoBridge extends BridgeAbstract
|
||||||
|
|
||||||
$price = $element->find('span.price')[0]->innertext;
|
$price = $element->find('span.price')[0]->innertext;
|
||||||
|
|
||||||
|
list($href) = explode('#', $element->href);
|
||||||
|
|
||||||
$item = new \Item();
|
$item = new \Item();
|
||||||
$item->uri = $this->getURI().$element->href;
|
$item->uri = $this->getURI().$href;
|
||||||
$item->title = $element->title;
|
$item->title = $element->title;
|
||||||
$item->content = $img.$desc.$price;
|
$item->content = $img.$desc.$price;
|
||||||
$this->items[] = $item;
|
$this->items[] = $item;
|
||||||
|
|
Loading…
Reference in a new issue