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

Start building not clicking