Skip to content

Commit f2c92d2

Browse files
authored
Merge pull request #190 from Daniel-Mietchen/patch-3
change URL for Crossref API in wikidataintegrator/wdi_helpers/publication.py
2 parents d4e2576 + 874766a commit f2c92d2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wikidataintegrator/wdi_helpers/publication.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ def get_or_create(self, login):
309309

310310
def crossref_api_to_publication(ext_id, id_type="doi"):
311311
assert id_type == "doi", "Unsupported id type in crossref: {}".format(id_type)
312-
url = "https://api.crossref.org/v1/works/http://dx.doi.org/{}"
312+
url = "https://api.crossref.org/v1/works/https://doi.org/{}"
313313
url = url.format(ext_id)
314314

315315
response = requests.get(url)

0 commit comments

Comments
 (0)