mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-05 02:24:35 +02:00
fix: php errors (notices) (#3115)
This commit is contained in:
parent
8795cb252f
commit
52af2ae34c
9 changed files with 33 additions and 20 deletions
|
@ -313,6 +313,7 @@ class BandcampBridge extends BridgeAbstract
|
|||
private function apiGet($endpoint, $query_data)
|
||||
{
|
||||
$url = self::URI . 'api/' . $endpoint . '?' . http_build_query($query_data);
|
||||
// todo: 429 Too Many Requests happens a lot
|
||||
$data = json_decode(getContents($url));
|
||||
return $data;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue