Awesome-Python-Scripts/Download-page-as-pdf
Jeremias Moreira Gomes 957f7ab45c
Download page as pdf (#196)
* Download page as PDF.

* Contributor name.

* Pudim page typo.
2020-10-24 17:20:19 +05:30
..
download-page-as-pdf.py Download page as pdf (#196) 2020-10-24 17:20:19 +05:30
README.md Download page as pdf (#196) 2020-10-24 17:20:19 +05:30
requirements.txt Download page as pdf (#196) 2020-10-24 17:20:19 +05:30

Download Page as PDF:

Download a page as a PDF .

Required Modules :

  • pyppdf
      pip3 install pyppdf
    
  • pyppyteer
      pip3 install pyppeteer
    

Examples of use :

  • Download a page:
   python download-page-as-pdf.py -l 'www.pudim.com.br'
  • Download a page and give a pdf name:
   python download-page-as-pdf.py -l 'http://www.pudim.com.br' -n 'pudim.pdf'