Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm using wget to download useful website recursively:

wget -k -m -r -q -t 1

But external website also downloaded along with the website I want.

How to prevent this external website from being downloaded?

share|improve this question

1 Answer 1

Try -D or --domains, it is a list of domains that will be followed.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.