Skip to content

Commit

Permalink
Bug fix on size
Browse files Browse the repository at this point in the history
  • Loading branch information
tmorrell committed Jan 7, 2022
1 parent 64431ba commit eddc6f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ames/harvesters/caltechdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ def get_caltechdata(collection, production=True, datacite=False):
else:
url = "https://cd-sandbox.tind.io/api/records"

response = requests.get(url + "/?size=50000")
response = requests.get(url + "/?size=9000")
hits = response.json()

print(hits)
for h in progressbar(hits["hits"]["hits"]):
rid = str(h["id"])
# Get enriched metadata records (including files)
Expand Down
2 changes: 1 addition & 1 deletion codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"codeRepository": "https://github.com/caltechlibrary/ames",
"issueTracker": "https://github.com/caltechlibrary/ames/issues",
"license": "https://data.caltech.edu/license",
"version": "0.8.0",
"version": "0.8.1",
"author": [
{
"@type": "Person",
Expand Down

0 comments on commit eddc6f8

Please sign in to comment.