From 7b587ac57b217d0a3bab5f58fb4fecf5b1e1980a Mon Sep 17 00:00:00 2001 From: Thomas Mansencal Date: Sat, 21 Oct 2023 08:58:42 +1300 Subject: [PATCH] Update *Zenodo* records query url. --- colour_datasets/records/zenodo.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/colour_datasets/records/zenodo.py b/colour_datasets/records/zenodo.py index 0eaad9b..21a9155 100644 --- a/colour_datasets/records/zenodo.py +++ b/colour_datasets/records/zenodo.py @@ -828,12 +828,12 @@ def from_id( community_url = ( f"{configuration.api_url}/communities/{configuration.community}" ) - # NOTE: Retrieving 512 datasets at most. This should cover needs for + # NOTE: Retrieving 256 datasets at most. This should cover needs for # the foreseeable future. There is likely an undocumented hard limit on # "Zenodo" server side. records_url = ( - f"{configuration.api_url}/records/" - f"?q=communities:{configuration.community}&size=512" + f"{configuration.api_url}/records" + f"?q=communities:{configuration.community}&size=256" ) community_json_filename = os.path.join(