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

Problem with Flask #65

Closed FFally closed 3 years ago

FFally commented 3 years ago

Hi,

when I run "save_webpage" offline it works, but when I try to call it from my flask environment it doesn't finish. I just don't get this. Can anyone help me?

my use case is very simple:

url = 'https://www.sicherheitshandbuch.gv.at/'
kwargs = {
 'debug': False,
 'project_folder': 'resources',
 'load_css': False,
 'load_images': False,
 'load_javascript': False,
 'over_write': True,

}
save_webpage(url,**kwargs)
FFally commented 3 years ago

Ok it didnt finish due to 'zip_project_folder': True