Correction for issue #99
HumbleStoreDiscountBridge is now working, I changed the link to request Json data.
This commit is contained in:
parent
11aeb8088a
commit
c51fc40d17
1 changed files with 1 additions and 1 deletions
|
@ -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'];
|
||||
|
|
Loading…
Reference in a new issue