Skip to content

Fix Zotero add-paper to extract metadata from arXiv, PubMed, and gene…#2

Merged
hanig merged 2 commits intomainfrom
chore/publicize-final-checks
Feb 7, 2026
Merged

Fix Zotero add-paper to extract metadata from arXiv, PubMed, and gene…#2
hanig merged 2 commits intomainfrom
chore/publicize-final-checks

Conversation

@hanig
Copy link
Owner

@hanig hanig commented Feb 7, 2026

…ric publisher URLs

Previously, URLs from arXiv and most publishers fell through to the webpage fallback, storing only the raw link. Now _extract_doi_from_url handles arXiv (via 10.48550 DOI), PubMed (PMID→DOI via NCBI API), and a generic fallback that catches any DOI embedded in a URL path or query string (Wiley, Springer, T&F, ACS, SAGE, Oxford, Frontiers, PLoS, etc.).

hanig and others added 2 commits February 7, 2026 15:19
…ric publisher URLs

Previously, URLs from arXiv and most publishers fell through to the
webpage fallback, storing only the raw link. Now _extract_doi_from_url
handles arXiv (via 10.48550 DOI), PubMed (PMID→DOI via NCBI API), and
a generic fallback that catches any DOI embedded in a URL path or query
string (Wiley, Springer, T&F, ACS, SAGE, Oxford, Frontiers, PLoS, etc.).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@hanig hanig merged commit 1b66d1a into main Feb 7, 2026
3 checks passed
@hanig hanig deleted the chore/publicize-final-checks branch February 7, 2026 23:21
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