我使用以下命令行使用wget下载网站:
wget -E -H -k -K -p --no-directories --content-disposition https://example.com/hello.index
当我下载资产时,这就是文件目录的样子:
index.html.orig
index.html?url=http%3A%2F%2Fmedia.engadget.com%2Fimg%2Fproducts%2F503%2Fasu0%2Fasu0.jpg
index.html?url=http%3A%2F%2Fmedia.engadget.com%2Fimg%2Fproducts%2F536%2Fbi6i%2Fbi6i.jpg
index.html?url=http%3A%2F%2Fmedia.engadget.com%2Fimg%2Fproducts%2F547%2Fbqt8%2Fbqt8.jpg
...
有没有办法可以指示wget下载网站,以便文件的名称为:
index.html.orig
asu0.jpg
bi6i.jpg
bqt8.jpg
...
并且index.html文件被恰当地命名?