1.Intall Python3 on your system. 2.Install pip. 3.Install the requirements.txt. 4.Install wkhtmltopdf ---> https://wkhtmltopdf.org/downloads.html depedning on your operating system.
On setting up the above run the code as : python3 htmltopdf.py, it will prompt for the URL and the pdf output file. The converted file will be stored in the HTML_TO_PDF_Convertor.