pub fn oa_publisher_allowlist() -> Vec<SourceAllowlist>Expand description
Hard-coded Phase 1 allowlist for the synthetic "oa-publisher" source —
the publisher / preprint / repository hosts to which Unpaywall’s
best_oa_location.url (or url_for_pdf) typically resolves.
Status: informed-best-effort. Per docs/REDIRECT_ALLOWLIST.md §3,
every entry below is a documented OA-publisher host pulled from the
public DOI / OA discovery surface as of this function’s authoring; they
are not a substitute for empirical validation. Entries marked
(unverified) MUST be confirmed by a real fetch or removed before
Phase 1 is closed.
The orchestrator (doiget-cli::commands::fetch::fetch_doi) calls
HttpClient::fetch_pdf under the "oa-publisher" source key when
Unpaywall returns an OA URL. If the OA host is not in this list, the
PDF leg is denied (HttpError::RedirectDenied) and the orchestrator
falls back to metadata-only success (the informed-best-effort
posture from the spec section above).