I'm having such an option on my link-saving project, it lets you choose to save the content in pdf (using the wonderful weasyprint lib) or not.