From dwakar, 1 Month ago, written in Python.
This paste will self destruct in 1 Second.
Embed
  1. # Download current web page as a pdf using wkhtmltopdf
  2. config.bind(';p', 'spawn wkhtmltopdf {url} /tmp/{url:host}.pdf;; download file:///tmp/{url:host}.pdf')
  3.