diff options
author | 2018-07-17 10:50:30 +0200 | |
---|---|---|
committer | 2018-07-17 10:50:30 +0200 | |
commit | 1f2fe25471f51115af4679ca17133acc934ca746 (patch) | |
tree | e5ddb02b4198a64be011b27c9fd90aba7d22c229 | |
parent | 87fc9e915661adad323c552ea82a7dbc2b59dbaf (diff) | |
download | rss-bridge-1f2fe25471f51115af4679ca17133acc934ca746.tar.gz rss-bridge-1f2fe25471f51115af4679ca17133acc934ca746.tar.zst rss-bridge-1f2fe25471f51115af4679ca17133acc934ca746.zip |
Fix LeBonCoinBridge, now uses getContents correctly,
-rw-r--r-- | bridges/LeBonCoinBridge.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridges/LeBonCoinBridge.php b/bridges/LeBonCoinBridge.php index 8cfea7cb..927b43e0 100644 --- a/bridges/LeBonCoinBridge.php +++ b/bridges/LeBonCoinBridge.php @@ -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)) { |