Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Materials Cloud Archive file urls #177

Open
eimrek opened this issue Nov 14, 2024 · 0 comments
Open

New Materials Cloud Archive file urls #177

eimrek opened this issue Nov 14, 2024 · 0 comments

Comments

@eimrek
Copy link
Member

eimrek commented Nov 14, 2024

The Materials Cloud Archive (https://archive.materialscloud.org/) will soon migrate to a new version and as a results, the direct file download urls will change.

I found two places where these urls are used:

url_template = 'https://archive.materialscloud.org/record/file?filename={filename}&parent_id=19'

and

filepath_archive = 'https://archive.materialscloud.org/record/file?filename=fake-url'

In order to anticipate the URL change and make sure this doesn't break, we should probably already start supporting also the new url.

@vgranata Do you already know what the new url will look like?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant