rajatomar788 / pywebcopy

Locally saves webpages to your hard disk with images, css, js & links as is.
https://rajatomar788.github.io/pywebcopy/
Other
520 stars 105 forks source link

catch exceptions in threaded retrieval.. #103

Closed gallavee closed 2 years ago

gallavee commented 2 years ago

This small PR catches exceptions in threaded retrieval and avoids having standard error polluted with uncaught exceptions for Proxy or Connection Errors

rajatomar788 commented 2 years ago

Shouldn't the except statement in the function still return the previous url and filepath values?

gallavee commented 2 years ago

sure.. I added this, not sure what is done with the return val though