url_to_pdf
Fetch a URL and convert it to PDF using Prince. Args: url: URL of a document to fetch and convert style: Additional CSS to apply (inline stylesheet content) page_size: Page size (e.g., A4, letter) page_margin: Page margins (e.g., 20mm) javascript: Enable JavaScript execution pdf_profile: PDF profile (e.g., PDF/A-3b, PDF/UA-1) output_filename: Output filename for the PDF (default: "output.pdf")
url必填stylepage_sizejavascriptpage_marginpdf_profileoutput_filename