Take the 2-minute tour ×
Server Fault is a question and answer site for professional 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 http://www.web.com/

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

 
discard

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