Skip to content

Mitigate against malformed doi from orcid - #11

Open
nature-0 wants to merge 1 commit into
JustSustainabilityDesign:mainfrom
nature-0:main
Open

Mitigate against malformed doi from orcid#11
nature-0 wants to merge 1 commit into
JustSustainabilityDesign:mainfrom
nature-0:main

Conversation

@nature-0

@nature-0 nature-0 commented Sep 3, 2025

Copy link
Copy Markdown
Contributor

Sometimes it seems that the orcid endpoint returns malformed value for the doi type by returning a URL instead of a proper doi.

This PR just checks if an id of type doi contains the string "https://doi.org/" and removes it if it does.

An example is the doi: 10.1145/3706599.3706731
At that url: https://pub.orcid.org/v3.0/0000-0002-8364-0593/works

2025-09-02_14-26-47

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

Successfully merging this pull request may close these issues.

1 participant