bettermousetraps.net
weasyprint
How to convert web pages to pdf using weasyprint
pip install weasyprint
Example
weasyprint in.html out.pdf