From c51fc40d17b026df00146b6e7363adb6da8936d0 Mon Sep 17 00:00:00 2001 From: 16mhz Date: Wed, 10 Dec 2014 13:09:08 +0100 Subject: [PATCH] Correction for issue #99 HumbleStoreDiscountBridge is now working, I changed the link to request Json data. --- bridges/HumbleStoreDiscountBridge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridges/HumbleStoreDiscountBridge.php b/bridges/HumbleStoreDiscountBridge.php index 7d109e0..e918158 100755 --- a/bridges/HumbleStoreDiscountBridge.php +++ b/bridges/HumbleStoreDiscountBridge.php @@ -14,7 +14,7 @@ class HumbleStoreDiscountBridge extends BridgeAbstract{ public function collectData(array $param){ - $result = file_get_html('https://www.humblebundle.com/store/api?request=2&page_size=20&sort=discount&page=0') + $result = file_get_html('https://www.humblebundle.com/store/api/humblebundle?request=2&page_size=20&sort=discount&page=0') or $this->returnError('Could not request the Humble Store.', 404); $string = json_decode($result, true); $items = $string['results'];