Web grey search¶
Discover grey literature (reports, working papers, author PDFs) from a query.
This is not a Google or Scholar HTML scraper. Paperful calls a
SearXNG JSON API you configure
([searxng].base_url or SEARXNG_BASE_URL). It is not a paperful run
source: apply creates metadata parents; PDFs still come from Wanted /
paperful run so grey playbooks stay in charge of the fetch.
Distinct from snowball search (OpenAlex keywords) and from grey playbooks (URL already on the item → PDF). Search finds URLs; playbooks fetch.
CLI¶
paperful search "BBNJ" OR "biodiversity beyond national jurisdiction" \
--hosts example.org \
--max 30 --format json
paperful search "BBNJ" --apply -C ocean/BBNJ
paperful search --run-id <id>
paperful search --list
paperful search watch save bbnj-grey --query "BBNJ" --hosts example.org --interval-days 7
paperful search watch run bbnj-grey # first time: baseline, inbox empty
paperful search watch run bbnj-grey --force # skip the interval wait
paperful search watch apply bbnj-grey -C ocean/BBNJ # dry-run
paperful search watch apply bbnj-grey -C ocean/BBNJ --apply # metadata parents
paperful search watch show bbnj-grey
paperful search watch list
paperful search watch save bbnj-grey2 --from-run <run-id> # copy query and hosts from state/search/<run-id>/
paperful search watch due # watches whose interval has elapsed
--filetype pdf (default) appends filetype:pdf to the query. Pass
--filetype none to skip. --hosts is an allowlist and is also injected as
site: ORs. Dry-run prints a table (new / exists / blocked). --apply -C
creates report parents (URL + Extra provenance web:searxng or
grey:<playbook>). --out-dir writes the paperful.search.v1 pack only; it
does not imply --apply.
Exit 2 when SearXNG is unset (paperful doctor shows the same amber row).
Ranking¶
Blocked hosts (Scholar, ResearchGate, Wikipedia, doi.org, …) and large
publisher platforms are dropped. Remaining hits prefer .pdf / playbook
rewrites, then HTML landings on known grey hosts. Optional HEAD/GET probe
(--no-probe to skip) distinguishes PDF from HTML. Empty SearXNG / HTTP 429
is a partial run, not a crash.
Store¶
state/search/<run-id>/ (paperful.search.v1; gitignored with state/):
File |
Contents |
|---|---|
|
Query, filetype, hosts, engine host (not a secret-bearing URL), caps |
|
Ranked rows ( |
|
Post-filter / probe |
|
hits, kept, exists, blocked, new |
Cache JSON lives under state/search/cache/ (not the peer-review SearXNG folder).
Watch¶
paperful search watch is a pull-only URL poll. First run baselines every
hit into seen.json and writes nothing to the inbox. Later runs propose
unseen URLs (not DOIs — grey reports often have none). --interval-days
(default 7, 0 = every run) uses the same due-date helper as
keepup; Paperful does not schedule watches — cron
search watch run. --force ignores the interval. watch apply -C is
dry-run unless --apply (metadata parents only; PDFs stay Wanted /
paperful run). Distinct from snowball watch
(OpenAlex works) and authorwatch (people).
Ledger under state/search/watches/<name>/ (paperful.search.watch.v1):
File |
Role |
|---|---|
|
Query, hosts, filetype, |
|
URL identities already recorded |
|
Append-only proposed hits |
|
URLs already created by |
Discover Web¶
Discover → Web (default visible; hide with [ui].web_search = "off" in
Settings). Same Preview → apply honesty as Topic / People. Copy on the tab:
PDFs still need Wanted. The tab can Save watch / Run a saved grey
watch (inbox on disk). Apply from the CLI.
Example¶
paperful search "BBNJ" OR "biodiversity beyond national jurisdiction" \
--hosts example.org \
--max 20
Then --apply -C ocean/BBNJ (or the collection chip on Discover → Web) and
paperful run / Wanted for PDFs.