diff --git a/doi2bibtex/ads.py b/doi2bibtex/ads.py index 100c565..cc8e2b9 100644 --- a/doi2bibtex/ads.py +++ b/doi2bibtex/ads.py @@ -79,7 +79,7 @@ def get_ads_bibcode_for_identifier(identifier: str) -> str: # Find the result that matches the identifier for result in response["docs"]: - if any(identifier in _ for _ in result["identifier"]): + if any(identifier.lower() in _.lower() for _ in result["identifier"]): return str(result["bibcode"]) # If we get here, we didn't find a match