mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-26 19:36:52 +03:00
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);
|
$url = self::URI . 'recherche/?' . http_build_query($params);
|
||||||
$html = file_get_contents($url)
|
$html = getContents($url)
|
||||||
or returnServerError('Could not request LeBonCoin. Tried: ' . $url);
|
or returnServerError('Could not request LeBonCoin. Tried: ' . $url);
|
||||||
|
|
||||||
if(!preg_match('/^<script>window.FLUX_STATE[^\r\n]*/m', $html, $matches)) {
|
if(!preg_match('/^<script>window.FLUX_STATE[^\r\n]*/m', $html, $matches)) {
|
||||||
|
|
Loading…
Reference in a new issue