[英]How to download single page in separate folders with wget
I want to download a single page of a website. 我想下载一个网站页面。
I can use Chrome Save as
but all assets will be saved in one directory (website_files). 我可以使用Chrome
Save as
但所有资产都将保存在一个目录(website_files)中。
I used Webhttrack but it's not work on https
我使用了Webhttrack,但不适用于
https
How can I save files in folders as page structure with wget
? 如何使用
wget
将文件夹中的文件保存为页面结构? If you know other tools, please tell me. 如果您知道其他工具,请告诉我。
Eg: example.com/js/js.js
should be stored in js
folder 例如:
example.com/js/js.js
应该存储在js
文件夹中
Thanks to @DaFois, I solved my problem. 感谢@DaFois,我解决了我的问题。 Here is the command I used:
这是我使用的命令:
wget -E -H -k -K -N -p -P somename http://example.com/something
Reference: 参考:
https://gist.github.com/dannguyen/03a10e850656577cfb57 http://www.veen.com/jeff/archives/000573.html https://gist.github.com/dannguyen/03a10e850656577cfb57 http://www.veen.com/jeff/archives/000573.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.