Wykres commitów

9 Commity (938d91c9ca5b044368afd237a1adf0e1666f44b6)

Autor SHA1 Wiadomość Data
Philip Durbin 938d91c9ca download original file formats from Dataverse #1242
Dataverse creates plain-text, preservation-friendly copies of certain
file formats (some of which are proprietary, such as Stata or SPSS) and
this .tab (tab-separated) file is downloaded unless you supply
`format=original`, which is what this pull request does.

The original filename (e.g. foo.dta, a Stata file) comes from
`originalFileName`, which is only populated when the preservation copy
(e.g. foo.tab) has been successfully created.

Additional variables were created to distinguish between `filename`,
`original_filename`, and `filename_with_path`. If `original_filename`
is available, it's the right one to use.

To allow the tests to continue passing, the query parameters are now
removed so just the file id can be cast as an int.
2023-03-10 16:46:05 -05:00
pre-commit-ci[bot] 3e6951c02e [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-02-03 14:22:06 +00:00
pre-commit-ci[bot] 27c2b403db [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2022-10-31 22:32:14 +00:00
pre-commit-ci[bot] 5a93542321 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2022-10-31 21:22:32 +01:00
Mridul Seth 0885204a5d fix dataverse regression introduced in last release 2021-02-11 21:58:21 +01:00
David Douard 830a9c89c0 Replace urllib by requests in contentproviders
requests is globally simpler to use, and more and more people
are more familiar with this later than urllib.
2021-01-18 17:29:53 +01:00
Kacper Kowalik (Xarthisius) 4df4fd6ab4
Download individual files instead of zip bundle 2019-09-17 15:44:56 -05:00
Kacper Kowalik (Xarthisius) a2f8228b15
Match DV hosts based on netloc instead of url 2019-09-16 15:03:12 -05:00
Kacper Kowalik (Xarthisius) 8edafd0d07
Add tests 2019-09-13 13:42:41 -05:00