Update openlibrary author with ISNI

This commit is contained in:
Mouse Reeve
2021-12-05 13:24:40 -08:00
parent d7e4e6aa1e
commit 4085714764
8 changed files with 43 additions and 15 deletions

View File

@ -38,7 +38,7 @@ class Author(BookDataModel):
def isni_link(self):
"""generate the url from the isni id"""
clean_isni = re.sub(r"\s", "", self.isni)
return f"https://insi.org/isni/{clean_isni}"
return f"https://isni.org/isni/{clean_isni}"
@property
def openlibrary_link(self):