Skip to content

Commit

Permalink
Fix issue with new Dryad REST API format for downloading files #75 (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
micafer authored Jun 24, 2024
1 parent 4935c64 commit 9abbe92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datahugger/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def API_URL_META(self):
return f"https://datadryad.org{latest_version}/files"

def _get_attr_link(self, record, base_url):
return base_url + record["_links"]["stash:file-download"]["href"]
return base_url + record["_links"]["stash:download"]["href"]


class DataOneDataset(DatasetDownloader):
Expand Down

0 comments on commit 9abbe92

Please sign in to comment.