fetchpdf 0.1.8__tar.gz → 0.1.9__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {fetchpdf-0.1.8/fetchpdf.egg-info → fetchpdf-0.1.9}/PKG-INFO +19 -10
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/README.md +18 -9
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/__init__.py +1 -1
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/supplement_graph.py +368 -55
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/supplement_index.py +25 -8
- fetchpdf-0.1.9/fetchpdf/retrieval/supplement_repos.py +459 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9/fetchpdf.egg-info}/PKG-INFO +19 -10
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf.egg-info/SOURCES.txt +3 -0
- fetchpdf-0.1.9/tests/test_datacite_reverse_paging.py +300 -0
- fetchpdf-0.1.9/tests/test_datacite_supplement_identity.py +232 -0
- fetchpdf-0.1.9/tests/test_supplement_repos.py +419 -0
- fetchpdf-0.1.8/tests/test_datacite_supplement_identity.py +0 -30
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/LICENSE +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/MANIFEST.in +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/__main__.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/_env.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/_http.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/fetch_abstract_from_doi.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/fetch_metadata_from_doi.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/fetchpdf.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/get_cookies.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/__init__.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/_util.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/artifact.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/backends/__init__.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/backends/claude_cli.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/backends/openrouter.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/blocked.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/byline.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/cache.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/chunk.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/classify.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/context.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/corresponding.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/engine.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/extract_images.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/figures.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/fulltext_scan.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/goals.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/http.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/identifiers.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/institutional.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/ladder.json +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/linked_artifacts.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/llm_adjudicate.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/llm_agent_retrieval.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/normalize.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/pdf_identity.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/pdf_text.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/provenance.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/pubpeer.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/ratelimit.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/references.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/repository_waf.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/request_drafts.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/resolve.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/sources/__init__.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/sources/arxiv.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/sources/core_text.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/sources/crossref_tdm.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/sources/epmc.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/sources/epmc_repo.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/sources/landing.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/sources/legacy_pdf.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/sources/pmc.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/sources/pmc_html.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/sources/preprint.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/sources/publisher_html.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/sources/supplements.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/supplement_atypon.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/supplement_dspace.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/supplement_jci.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/supplement_pmc.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/supplement_publishers.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/supplement_wayback.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/supplementary.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/tiers.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/to_html.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/to_markdown.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/validate.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf/retrieval/verify.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf.egg-info/dependency_links.txt +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf.egg-info/entry_points.txt +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf.egg-info/requires.txt +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/fetchpdf.egg-info/top_level.txt +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/pyproject.toml +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/requirements.txt +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/setup.cfg +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/tests/test_agent_backends.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/tests/test_blocked.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/tests/test_cookie_offer.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/tests/test_corresponding.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/tests/test_dspace.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/tests/test_elsevier_routing.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/tests/test_entrypoints.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/tests/test_epmc_repo.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/tests/test_extract_images.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/tests/test_figures.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/tests/test_folder_encoding.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/tests/test_fulltext_scan.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/tests/test_get_cookies.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/tests/test_institutional.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/tests/test_jci_supplements.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/tests/test_json_output.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/tests/test_landing_candidates.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/tests/test_landing_page_detection.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/tests/test_last_resort_reachability.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/tests/test_linked_artifacts.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/tests/test_llm_adjudicate.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/tests/test_llm_agent_retrieval.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/tests/test_normalize_cells.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/tests/test_pdf_identity.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/tests/test_pdf_trailer.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/tests/test_pmc_page.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/tests/test_polite_ua.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/tests/test_pubmed_identity.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/tests/test_pubpeer.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/tests/test_pull_for_record_call_sites.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/tests/test_pure.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/tests/test_request_drafts.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/tests/test_retrieval.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/tests/test_review_fixes.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/tests/test_scan_record.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/tests/test_screening_conversion.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/tests/test_serpapi_scholar.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/tests/test_short_conference_xml.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/tests/test_supplement_asset_identity.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/tests/test_supplementary.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/tests/test_to_html.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/tests/test_xml_fallback_extras.py +0 -0
- {fetchpdf-0.1.8 → fetchpdf-0.1.9}/tests/test_xml_last.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: fetchpdf
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.9
|
|
4
4
|
Summary: A comprehensive tool to download PDFs from DOIs using multiple sources
|
|
5
5
|
Author-email: Dan Elton <delton17@gmail.com>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -677,7 +677,7 @@ Twenty routes, tried in a fixed order so the numbering is reproducible:
|
|
|
677
677
|
| bioRxiv / medRxiv | `10.1101` |
|
|
678
678
|
| APA supplemental | `10.1037` |
|
|
679
679
|
| Figshare / Zenodo / OSF | repository DOIs, and datasets reached through link services |
|
|
680
|
-
| DataCite reverse relations | any DOI — finds deposits whose own DataCite record
|
|
680
|
+
| DataCite reverse relations | any DOI — finds deposits whose own DataCite record claims the article through a supplement relation (`IsSupplementTo`, `IsPartOf`, `IsDescribedBy`, `IsDocumentedBy`, or the inverse `IsSupplementedBy` / `HasPart`); deposits that cite it, derive from it (`IsDerivedFrom`) or relate to it any other way are dropped unless their title is a "Data from: <article title>"-style match or, for Dryad, Dryad's own API names the article as the dataset's primary article. Reads up to 500 records and routes up to 100 deposits, one per deposit however many versions are registered. Figshare "journal contribution" items (publisher SI documents, typed `JournalArticle` in DataCite) are kept when they say `IsSupplementTo` the article |
|
|
681
681
|
| Crossref component DOIs | publishers that register components |
|
|
682
682
|
| JATS-declared URLs | absolute URLs the JATS itself declares (e.g. LWW permalinks, publisher Source Data links) — recovery of last resort. Read from the PMC copy or, with no PMCID, from a publisher `{stem}.xml` saved beside the record (e.g. by `--get-xml-and-pdf`); TEI and non-JATS XML are ignored |
|
|
683
683
|
| OpenAIRE ScholeXplorer | any DOI — Scholix publication→dataset/software links |
|
|
@@ -762,7 +762,7 @@ citation-grade link is promoted to `owned` only when the deposit's DataCite
|
|
|
762
762
|
record names the article. Under `--download-data-artifacts`, `related` links are
|
|
763
763
|
downloaded too, unless the deposit's own metadata says it belongs to a
|
|
764
764
|
*different* article (`--download-related-unverified` drops even that check).
|
|
765
|
-
Routed deposits in
|
|
765
|
+
Routed deposits in any repository in the download table below go to those
|
|
766
766
|
enumerators and land under `{stem}_data_artifacts/<deposit>/` with their
|
|
767
767
|
original filenames (`routed_to_download: true` in the sidecar); they still get
|
|
768
768
|
an entry in the supplementary manifest. The same deposit named by several link
|
|
@@ -810,19 +810,28 @@ Download — repositories with file enumerators (links that pass the routing rul
|
|
|
810
810
|
|
|
811
811
|
| Repository | Routed on | Notes |
|
|
812
812
|
|---|---|---|
|
|
813
|
-
| figshare | `10.6084` / "figshare" | declared size + md5 before transfer |
|
|
813
|
+
| figshare | `10.6084` / "figshare" | declared size + md5 before transfer; collections (`figshare.c.N`) are listed item by item |
|
|
814
|
+
| figshare portals | GSA `10.25386`/`10.25387`, ASHA `10.23641`, Sheffield `10.15131`, Loughborough `10.17028`, UCL `10.5522/04`, and any deposit whose DataCite landing page is on `*.figshare.com` | the item must name the deposit DOI back before its files are taken |
|
|
814
815
|
| Zenodo | `10.5281` / "zenodo" | restricted records skipped |
|
|
815
816
|
| OSF | `10.17605` / "osf.io" | walks folder trees (depth/node caps) |
|
|
816
817
|
| Dryad | `10.5061` / "dryad" | declared size + sha-256, paginated |
|
|
817
818
|
| Harvard Dataverse | `10.7910/DVN` | declared md5; restricted files skipped |
|
|
819
|
+
| Mendeley Data | `10.17632` | declared size + sha-256; older versions listed folder by folder |
|
|
820
|
+
| PANGAEA | `10.1594/PANGAEA.N` | one file per DOI (table, binary, or a zip for a series); no declared size or checksum; datasets under moratorium skipped |
|
|
821
|
+
| 4TU.ResearchData | `10.4121` | declared size + md5; embargoed and metadata-only records skipped; collections supported |
|
|
822
|
+
| Science Data Bank | `10.57760` / `10.11922` `sciencedb.` | declared size + md5; walks folders |
|
|
818
823
|
| BioStudies | — | content arrives via the Europe PMC supplementary bundle instead, never fetched twice |
|
|
819
824
|
|
|
820
|
-
Not
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
825
|
+
Not downloadable (recorded, left to the operator):
|
|
826
|
+
SAGE's figshare (`10.25384` — the public figshare API does not serve it; SAGE
|
|
827
|
+
supplements come through the Atypon and Internet Archive routes instead),
|
|
828
|
+
ICPSR / openICPSR (`10.3886` — login and terms of use), non-Harvard Dataverse
|
|
829
|
+
installations, subject databases (GEO, SRA, PDB, UniProt — accession records,
|
|
830
|
+
not file bundles), GitLab repositories, and the institutional-repository long
|
|
831
|
+
tail. Dryad lists files freely but its download API currently answers HTTP 401
|
|
832
|
+
without a bearer token, so Dryad files are reported as `blocked`.
|
|
833
|
+
Adding an enumerator is the same small pattern as the ones in
|
|
834
|
+
`fetchpdf/retrieval/supplement_repos.py`.
|
|
826
835
|
|
|
827
836
|
## `--fetch-everything`: the second layer
|
|
828
837
|
|
|
@@ -637,7 +637,7 @@ Twenty routes, tried in a fixed order so the numbering is reproducible:
|
|
|
637
637
|
| bioRxiv / medRxiv | `10.1101` |
|
|
638
638
|
| APA supplemental | `10.1037` |
|
|
639
639
|
| Figshare / Zenodo / OSF | repository DOIs, and datasets reached through link services |
|
|
640
|
-
| DataCite reverse relations | any DOI — finds deposits whose own DataCite record
|
|
640
|
+
| DataCite reverse relations | any DOI — finds deposits whose own DataCite record claims the article through a supplement relation (`IsSupplementTo`, `IsPartOf`, `IsDescribedBy`, `IsDocumentedBy`, or the inverse `IsSupplementedBy` / `HasPart`); deposits that cite it, derive from it (`IsDerivedFrom`) or relate to it any other way are dropped unless their title is a "Data from: <article title>"-style match or, for Dryad, Dryad's own API names the article as the dataset's primary article. Reads up to 500 records and routes up to 100 deposits, one per deposit however many versions are registered. Figshare "journal contribution" items (publisher SI documents, typed `JournalArticle` in DataCite) are kept when they say `IsSupplementTo` the article |
|
|
641
641
|
| Crossref component DOIs | publishers that register components |
|
|
642
642
|
| JATS-declared URLs | absolute URLs the JATS itself declares (e.g. LWW permalinks, publisher Source Data links) — recovery of last resort. Read from the PMC copy or, with no PMCID, from a publisher `{stem}.xml` saved beside the record (e.g. by `--get-xml-and-pdf`); TEI and non-JATS XML are ignored |
|
|
643
643
|
| OpenAIRE ScholeXplorer | any DOI — Scholix publication→dataset/software links |
|
|
@@ -722,7 +722,7 @@ citation-grade link is promoted to `owned` only when the deposit's DataCite
|
|
|
722
722
|
record names the article. Under `--download-data-artifacts`, `related` links are
|
|
723
723
|
downloaded too, unless the deposit's own metadata says it belongs to a
|
|
724
724
|
*different* article (`--download-related-unverified` drops even that check).
|
|
725
|
-
Routed deposits in
|
|
725
|
+
Routed deposits in any repository in the download table below go to those
|
|
726
726
|
enumerators and land under `{stem}_data_artifacts/<deposit>/` with their
|
|
727
727
|
original filenames (`routed_to_download: true` in the sidecar); they still get
|
|
728
728
|
an entry in the supplementary manifest. The same deposit named by several link
|
|
@@ -770,19 +770,28 @@ Download — repositories with file enumerators (links that pass the routing rul
|
|
|
770
770
|
|
|
771
771
|
| Repository | Routed on | Notes |
|
|
772
772
|
|---|---|---|
|
|
773
|
-
| figshare | `10.6084` / "figshare" | declared size + md5 before transfer |
|
|
773
|
+
| figshare | `10.6084` / "figshare" | declared size + md5 before transfer; collections (`figshare.c.N`) are listed item by item |
|
|
774
|
+
| figshare portals | GSA `10.25386`/`10.25387`, ASHA `10.23641`, Sheffield `10.15131`, Loughborough `10.17028`, UCL `10.5522/04`, and any deposit whose DataCite landing page is on `*.figshare.com` | the item must name the deposit DOI back before its files are taken |
|
|
774
775
|
| Zenodo | `10.5281` / "zenodo" | restricted records skipped |
|
|
775
776
|
| OSF | `10.17605` / "osf.io" | walks folder trees (depth/node caps) |
|
|
776
777
|
| Dryad | `10.5061` / "dryad" | declared size + sha-256, paginated |
|
|
777
778
|
| Harvard Dataverse | `10.7910/DVN` | declared md5; restricted files skipped |
|
|
779
|
+
| Mendeley Data | `10.17632` | declared size + sha-256; older versions listed folder by folder |
|
|
780
|
+
| PANGAEA | `10.1594/PANGAEA.N` | one file per DOI (table, binary, or a zip for a series); no declared size or checksum; datasets under moratorium skipped |
|
|
781
|
+
| 4TU.ResearchData | `10.4121` | declared size + md5; embargoed and metadata-only records skipped; collections supported |
|
|
782
|
+
| Science Data Bank | `10.57760` / `10.11922` `sciencedb.` | declared size + md5; walks folders |
|
|
778
783
|
| BioStudies | — | content arrives via the Europe PMC supplementary bundle instead, never fetched twice |
|
|
779
784
|
|
|
780
|
-
Not
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
785
|
+
Not downloadable (recorded, left to the operator):
|
|
786
|
+
SAGE's figshare (`10.25384` — the public figshare API does not serve it; SAGE
|
|
787
|
+
supplements come through the Atypon and Internet Archive routes instead),
|
|
788
|
+
ICPSR / openICPSR (`10.3886` — login and terms of use), non-Harvard Dataverse
|
|
789
|
+
installations, subject databases (GEO, SRA, PDB, UniProt — accession records,
|
|
790
|
+
not file bundles), GitLab repositories, and the institutional-repository long
|
|
791
|
+
tail. Dryad lists files freely but its download API currently answers HTTP 401
|
|
792
|
+
without a bearer token, so Dryad files are reported as `blocked`.
|
|
793
|
+
Adding an enumerator is the same small pattern as the ones in
|
|
794
|
+
`fetchpdf/retrieval/supplement_repos.py`.
|
|
786
795
|
|
|
787
796
|
## `--fetch-everything`: the second layer
|
|
788
797
|
|
|
@@ -15,7 +15,7 @@ from .fetch_metadata_from_doi import fetch_metadata_from_doi
|
|
|
15
15
|
# behavioural difference, it is the same object.
|
|
16
16
|
fetch_pdf_from_doi = fetch_pdf
|
|
17
17
|
|
|
18
|
-
__version__ = "0.1.
|
|
18
|
+
__version__ = "0.1.9"
|
|
19
19
|
__all__ = [
|
|
20
20
|
"fetch_pdf",
|
|
21
21
|
"fetch_pdf_from_doi", # deprecated alias for fetch_pdf
|