How can I make HTTrack only download files on the

2019-06-28 08:17发布

No matter how hard I try, I can't seem to get httrack to leave links going to other domains intact. I've tried using the --stay-on-same-domain argument, and that doesn't seem to do it. I've also tried adding a filter doesn't do it.

There simply must be some option I'm missing here.

3条回答
趁早两清
2楼-- · 2019-06-28 08:35

Setting the option "Maximum external depth" to 0 did not work , even though it should be expected.

What works:

Go to > Options > Scan Rules and enter in the text field (extra line): -* +*yourdomain.com/*

Here are more settings to learn about: HTTrack: How to download folders only from a certain subfolder level?

查看更多
对你真心纯属浪费
3楼-- · 2019-06-28 08:45

In "Set Option" > "Limits", try

Maximum mirroring depth = 1 (Keep this 2, when 1 doesn't work)

And

Maximum external depth = 0

Worked for me!!

查看更多
三岁会撩人
4楼-- · 2019-06-28 08:57

Set maximum external depth to 0. In the GUI that this can be found here:

enter image description here

If you are using the command line version, the option is

%e0

[Note: not an expert on HTTRACK, so please correct if necessary]

查看更多
登录 后发表回答