Skip to content

Latest commit

 

History

History
50 lines (32 loc) · 1000 Bytes

README.md

File metadata and controls

50 lines (32 loc) · 1000 Bytes

Webpage_to_Pdf

This repo consist of 2 set of codes , a JS and PY codes , they are basically simple script that can convert a list of webpages into an a PDF file

Prerequisite

Python 3.7 or above

Node.js V18 or above

Usgae

  • Clone the repository
git clone https://github.com/felaris/Webpage_to_Pdf.git
  • Navigate to the project directory
cd Webpage_to_Pdf

In the Webpage_to_Pdf directory you will find Js_Code and Python_Code

To run the Python Script

Creating a virtual environment is real advisable, check how to create a virtual environment from here.

cd Python_Code
pip install requirements.txt

Now check the Websites from the code and put the list of your websites there

python script.py

To run the Javascript

cd JS_Code
npm install

Now check the Websites from the code and put the list of your websites there