如何使HTTrack仅下载当前域中的文件? [英] How can I make HTTrack only download files on the current domain?
问题描述
无论我怎么努力,我似乎都无法通过httrack保留指向其他域的链接。我尝试使用-保留在相同域中
的参数,但这似乎没有用。我也尝试过添加过滤器无法解决问题。
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.
我只是在这里缺少必须。
推荐答案
未将选项最大外部深度设置为 0
工作,尽管应该可以预期。
Setting the option "Maximum external depth" to 0
did not work , even though it should be expected.
有效方法:
转到>选项>扫描规则,然后在文本字段中输入(多行) :-* + * yourdomain.com / *
Go to > Options > Scan Rules and enter in the text field (extra line): -* +*yourdomain.com/*
还有更多设置需要了解:HTTrack:如何仅从某个子文件夹级别下载文件夹?
Here are more settings to learn about: HTTrack: How to download folders only from a certain subfolder level?
这篇关于如何使HTTrack仅下载当前域中的文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!