Closed bralbral closed 3 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?
Did you read the issue #46 before opening this thread?
No, i did not. So the problem hasn't been solved in any way?
Hey! this is my code:
Threads get stuck after scrapping. How can I exit the script in the usual way?