Skip to content

delta/SaveRems

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SaveRems

Setup

  1. Clone the repository https://github.com/surajk16/SaveRems

  2. Install the requirements pip3 install -r requirements.txt

  3. Create Output Directory mkdir output && mkdir output/html && mkdir output/pdf

  4. Install wkhtmltopdf

  5. Run the flask webserver

export FLASK_APP=web.py
flask run
  1. Run the python script by passing in your webmail/email and password as params. python3 rems.py sample@gmail.com password

  2. To autorun script on changes to rems.py and template.html, install inotifywait and run the command while inotifywait -e close_write template/template.html; do python3 rems.py sample@gmail.com password; done and while inotifywait -e close_write rems.py; do python3 rems.py sample@gmail.com password; done from the working directory.

  3. Find the output html and pdf in the output folder.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published