forked from blallo/rss-bridge
Fix LeBonCoinBridge, now uses getContents correctly,
This commit is contained in:
parent
87fc9e9156
commit
1f2fe25471
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ class LeBonCoinBridge extends BridgeAbstract {
|
|||
);
|
||||
|
||||
$url = self::URI . 'recherche/?' . http_build_query($params);
|
||||
$html = file_get_contents($url)
|
||||
$html = getContents($url)
|
||||
or returnServerError('Could not request LeBonCoin. Tried: ' . $url);
|
||||
|
||||
if(!preg_match('/^<script>window.FLUX_STATE[^\r\n]*/m', $html, $matches)) {
|
||||
|
|
Loading…
Reference in a new issue