开发者

Download a webpage and media

开发者 https://www.devze.com 2022-12-16 02:19 出处:网络
I need to download a webpage and all its media (like css javascript and images) to make a sort of backup (like firefox does when you c开发者_开发技巧lick on File -> Save) with python.

I need to download a webpage and all its media (like css javascript and images) to make a sort of backup (like firefox does when you c开发者_开发技巧lick on File -> Save) with python.

Is there any library to do that or I shall create my own one?


It's not exactly Python, but there's a pretty standard *nix utility called wget which you can call from a Python script that will do this.

0

精彩评论

暂无评论...
验证码 换一张
取 消