App Logo
reduck.ai

Download PDF from a direct URL

Generic PDF/invoice downloader: given any direct, public tokenized PDF URL (Stripe pay.stripe.com/.../pdf, Orb assets.withorb.com, Chargify .pdf, etc.), downloads the file and returns path and filename. Works for public tokenized URLs only; PDFs gated behind a vendor session need that vendor's own download script.

Input

url required

Direct PDF URL (e.g. a pdfUrl from a list_invoices script).

filename optional

Preferred output filename. Honoured when the PDF is fetched in-page; a PDF the browser downloads natively keeps the name the server sends.

Output

path required
filename required
via optional

How the bytes were captured: "native-download" or "in-page-fetch".

sourceUrl optional

FAQ

Generic PDF/invoice downloader: given any direct, public tokenized PDF URL (Stripe pay.stripe.com/.../pdf, Orb assets.withorb.com, Chargify .pdf, etc.), downloads the file and returns path and filename. Works for public tokenized URLs only; PDFs gated behind a vendor session need that vendor's own download script.
Required: url. Optional: filename.
It returns via, path, filename, sourceUrl.
No. It only uses pages of reduck.ai that are reachable without signing in.
It only reads. It looks things up on reduck.ai and changes nothing there.
Ask an AI agent connected to Reduck to run reduck/reduck.ai/download_pdf_url, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/reduck.ai/download_pdf_url
It is part of Reduck's official curated catalogue.

Start building not clicking