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

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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.