rajatomar788 / pywebcopy

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

Script not completed #57

Closed bralbral closed 3 years ago

bralbral commented 4 years ago

Hey! this is my code:


import pywebcopy
url = 'https://habr.com/ru/post/203012/'
kwargs = {}
project_folder = 'download'
project_name = 'habr'
logfile = 'log_file.log'
# You should always start with setting up the config or use apis
pywebcopy.config.setup_config(url, project_folder, project_name, log_file=logfile, **kwargs)
wp = pywebcopy.WebPage()
wp.get(url)
#wp.save_complete()
wp.save_html()
wp.save_assets()

Threads get stuck after scrapping. How can I exit the script in the usual way? image

rajatomar788 commented 4 years ago

Did you read the issue #46 before opening this thread?

bralbral commented 4 years ago

No, i did not. So the problem hasn't been solved in any way?