mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-12 03:24:01 +02:00
use BridgeAbstract::file_get_html in all bridges
instead of simple_html_dom function file_get_html Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
@@ -239,7 +239,7 @@ class LeBonCoinBridge extends BridgeAbstract{
|
||||
else {
|
||||
$link = 'http://www.leboncoin.fr/' . $param['c'] . '/offres/' . $param['r'] . '/?f=a&th=1&q=' . urlencode($param['k']);
|
||||
}
|
||||
$html = file_get_html($link) or $this->returnError('Could not request LeBonCoin.', 404);
|
||||
$html = $this->file_get_html($link) or $this->returnError('Could not request LeBonCoin.', 404);
|
||||
|
||||
$list = $html->find('.tabsContent', 0);
|
||||
if($list === NULL) {
|
||||
|
Reference in New Issue
Block a user