Just want to quickly share how I managed to make it work on a Mac: I made a few changes to web_scraper.py as below:
on line 80 (source_to_web function): I changed the filepath to just "web.html" to save it in the current location.
on line 90 (web_to_pdf function): I changed the filepath to the absolute path to web.html in source_to_web function. The trick is, you have to begin with "file://", e.g "file:///Users/toannguyen/PycharmProjects/dck3/web.html"
Tested this on a book, the program works fine under Windows 10, however the tool only takes 1 page and saves it as a pdf.
Is there a particular way the url should be in?