Closed raffaem closed 2 years ago
Fix
> from pybliometrics.scopus import AuthorRetrieval
> auth = AuthorRetrieval("6506328678")
> print(auth.given_name)
Jörgen H.M.
Looks good, although I didn't know this was a problem. Since you use nothing but unescape
from the module, would you please only from html import unescape
? This will save many characters in the code and keep the lines short. And since it's part of any pythom installation, please write it in the upper import block
Arg ... doesn't work if the argument is None
. Wait before merging
Should be fine now :)
Three remarks about newlines in the review. Would you mind addressing them as well?
Relatedly, did the problem ever occur with affiliation names?
Relatedly, did the problem ever occur with affiliation names?
not for me
Scopus may return HTML entities for non-ASCII characters. This converts them to proper Unicode characters.