wiki-query
PApaperclipai/paperclip112k近 7 天新增 2,549 个 star
Use when you have a DOI/PMID/arXiv id and need the actual PDF or JATS full text, when a download returns HTML instead of a PDF, or when building the methods section and you need page-level quotes; covers the nine-stage fallback chain, how to verify a real PDF, and what provenance to record.
实测中大量站点回 200 + text/html:Cookie 门、登录页、"请启用 cookie"跳转页。
每一级都必须验:content-type 含 pdf 且 文件头是 %PDF-;JATS 则验根元素 <article。
判失败的特征:
cookies_not_supported / sign in / access denied / captchafinalUrl 落在 /login、/sorry/、?error=OpenAlex best_oa_location.pdf_url —— 经常是空的,别停在这一级OpenAlex locations[].pdf_url —— 遍历全部 location,取第一个非空Unpaywall /v2/{doi}?email= —— 需真实邮箱(占位会被 422 拒)Europe PMC fullTextUrlList —— 挑 documentStyle=pdf 且 availability 含 openEurope PMC /{PMCID}/fullTextXML —— 优先 JATS:有章节标签,做证据链比 PDF 好切PMC efetch db=pmc&id={pmcid}&retmode=xml —— 无需 keyhttps://arxiv.org/pdf/{id}(支持 Range)journals.plos.org/plosone/article/file?id={doi}&type=printablefrontiersin.org/articles/{doi}/pdfbiorxiv.org/content/{doi}v1.full.pdf(medRxiv 同路径会 403)Referer + Cookie 请求 PDF
link.springer.com/content/pdf/{doi}.pdfnature.com/articles/{suffix}.pdfpdfdirect/、SAGE doi/pdf/、T&F doi/pdf/、MDPI)—— 需 TLS 指纹伪装;本机默认判 blockedSci-Hub(.st/.ru)返回的是 ALTCHA PoW 挑战页,默认关闭;开了也要接受它可能变算法。
page_from/page_to;JATS 按 <sec sec-type> 切。resolve_attempt。同一篇下次先查哈希,别重下。<ref-list> 或 PDF 末尾正则抓 DOI,供滚雪球(前向/后向各一轮)。不要只说"下载失败"。按级写清楚:
doi:10.1002/anie.201900123
L1 openalex best_oa : empty
L2 openalex locations : 3 条,无 pdf_url
L3 unpaywall : skipped(未配置邮箱)
L4 europepmc : 非 OA
L7 直链 : -
L8 wiley pdfdirect : 403 text/html(CF)
结论:需要代理或机构权限,已记 blocked,未污染其他级的 provenance
这份记录进 docs/ 或项目日志,下次别人接手不用再试一遍。
PApaperclipai/paperclip112k近 7 天新增 2,549 个 star
NEnexu-io/open-design107k近 7 天新增 1,289 个 star
BYbytedance/deer-flow85k近 7 天新增 340 个 star
BYbytedance/deer-flow85k近 7 天新增 340 个 star
COcode-yeongyu/oh-my-openagent71k近 7 天新增 212 个 star
COcoreyhaines31/marketingskills59k近 7 天新增 1,381 个 star