diff --git a/datalad_dataverse/dataset.py b/datalad_dataverse/dataset.py index 93a41bc..1b1f600 100644 --- a/datalad_dataverse/dataset.py +++ b/datalad_dataverse/dataset.py @@ -171,7 +171,7 @@ def download_file(self, fid: int, path: Path): # https://github.com/gdcc/pyDataverse/issues/49 # the code below is nevertheless readied for such a # scenario - response = self.data_access_api.get_datafile(fid, is_pid=False) + response = self.data_access_api.get_datafile(fid, is_pid=False, data_format="original") # http error handling response.raise_for_status() with path.open("wb") as f: