mirror of
https://github.com/DragoonAethis/itch-dl.git
synced 2024-12-21 02:21:52 +01:00
Don't append API key to games.json request
This commit is contained in:
parent
9e006543c2
commit
ce8334449b
@ -91,7 +91,7 @@ def get_jobs_for_bundle_json(bundle_json: dict) -> List[str]:
|
|||||||
|
|
||||||
|
|
||||||
def get_bundle_json(bundle_id: str, client: ItchApiClient) -> dict:
|
def get_bundle_json(bundle_id: str, client: ItchApiClient) -> dict:
|
||||||
r = client.get(f"{ITCH_URL}/bundle/{bundle_id}/games.json")
|
r = client.get(f"{ITCH_URL}/bundle/{bundle_id}/games.json", append_api_key=False)
|
||||||
if not r.ok:
|
if not r.ok:
|
||||||
raise ItchDownloadError(f"Could not download game list: {r.status_code} {r.reason}")
|
raise ItchDownloadError(f"Could not download game list: {r.status_code} {r.reason}")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user