urltopdf

command module
v1.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

README

urltopdf: a Go PDF generator

urltopdf is a command line tool to generate a PDF from a URL. The heavy lifting is done by Chrome DevTools Protocol clients and tools for Go.

Usage

urltopdf [options] url filename
Options Shorthand Description
-ignore-certificate-error -ice Ignore certificate error
-include-print-background -ipb Include print background
-prefer-css-page-size -pcps Prefer CSS page size
-with-landscape -wls Landscape
Example -
urltopdf -ice -ipb https://bbc.co.uk/sport sport.pdf

The .pdf extension will be added if not provided.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
src
pdf

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL