Repository navigation
Releases
Releases · Rimagination/instsci
v0.2.0
Highlights
- Offline queue planner:
instsci queue references.csvsplits mixed-publisher reading lists into per-publisher CSVs plus aqueue.jsonplan (TXT/CSV/TSV input, DOI normalization and dedupe, unknown-publisher rows preserved). No login or downloads happen at planning time. - OpenAIRE fallback: generic
fetch/batch/MCP retrieval now consults the OpenAIRE Graph API when Unpaywall yields no sufficient text; candidates must match the DOI and carry instance-level OA rights. - Transient-failure recovery: known transient publisher failures get one sequential retry pass after a 30 s cooldown (
instsci jobs resume JOB_ID --transient-only); HTTP metadata requests respect boundedRetry-After. - Elsevier API source and ACS batch expansion carried over from the pending workspace work, together with session-broker hardening and the supplementary-materials smoke matrix.
- Publisher access fixes (issues #6 #10 #13 #15):
- Stale CARSI/institutional login URLs refreshed: Springer/Nature →
wayf.springernature.com, Wiley/T&F →/action/ssostart, ScienceDirect →/user/institution/login, IEEE →wayf.jsp. CARSI session validation now probes the publisher domain instead of the always-200 WAYF page, and a dead login entry fails fast with a clear "adapter stale" error instead of parking on a 404. - Springer's "Log in via an institution" card is recognized as an auth wall; Springer/Nature ESM assets (MOESM/MediaObjects/ESM) can no longer masquerade as the paywalled full text — cover-sheet text forces
verified_match=False. - "Buy article PDF USD 39.95"-style paywalls are detected as hard auth walls, and generic PDF-entry selectors skip Buy/Cart/price controls.
- Stale CARSI/institutional login URLs refreshed: Springer/Nature →
- Python 3.14 guard (issue #9): browser launch paths refuse 3.14+ with a clear "use 3.10–3.13" message (Playwright Sync API mis-detects an asyncio loop there). Imports and OA/HTTP fetching are unaffected.
- pymupdf handle fix: PDF text extraction parses from memory, so freshly written PDFs no longer stay file-locked on Windows until a cyclic GC pass.
Validation
python -m pytest tests/ -q→ 310 passed, 1 skipped (includes 15 new regression tests for the publisher-access fixes, plus a CI guard asserting no configured CARSIlogin_urluses the retired/institutional-loginpattern).- Live URL probes: IEEE
wayf.jsp200; Springer/Nature WAYF endpoints verified 200 earlier;/institutional-loginconfirmed 404 for Springer/Nature/T&F.
Notes
- Publisher PDF capability verdicts still require visible browser-backed evidence; HTTP probes remain preflight only.
- T&F and ScienceDirect front their sites with bot protection, so scripted probes return 403 for everything — the new login entries follow each platform's standard federated SSO endpoint; real-browser confirmation is welcome in issue follow-ups.
v0.1.1
Highlights
- Added a guided global Elsevier API setup flow with
instsci elsevier-setup --api-key ... --validate. - Clarified that the Elsevier API key is project-wide, while Inst Token is optional and only needed when a library explicitly provides one.
- Updated Elsevier retrieval to use
view=FULLXML metadata, parse MAIN PDF object EIDs, and fetch PDFs through the Content Objectobject/eidendpoint with direct-first routing. - Updated README, FAQ, repo skill guidance, and tests so users are led to configure Elsevier before API retrieval.
Validation
python -m pytest tests/test_public_language.py tests/test_elsevier_api.py tests/test_fetch_result.py -q- Real Elsevier 2026 closed-article API smoke test with
10.1016/j.landurbplan.2026.105718; XML/object PDF retrieval succeeded and PyMuPDF verified an 11-page PDF.
Notes
- API retrieval is HTTP/API-route evidence. Browser-backed CloakBrowser verification remains required for final publisher closed-access capability verdicts.