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

Only Downloads HTML and Nothing Else #115

Open jet082 opened 1 year ago

jet082 commented 1 year ago

I'm not sure what I'm doing wrong with my code, if anything.

from pywebcopy import save_website

save_website(url='https://ws-tcg.com/cardlist/?cardno=P3/S01-027&l', project_folder='E:\\pages\\ws_cards\\out2\\', project_name='P3', debug=True, bypass_robots=True, open_in_browser=False)

The only thing this saves is the html file - nothing else. This is also true if I use save_webpage.

rajatomar788 commented 1 year ago

Try changing the user-agent. Try with threading = True. Also if possible do it manually using WebPage object.

jayson0m commented 1 year ago

Running into the same issue

ws-rice commented 11 months ago

Same issue here - saving website results in one page, whether from CLI or from code. Most of dependencies from the saved page are also missing.

rajatomar788 commented 11 months ago

Try creating the webpage object manually and then configuring it.