Friday, October 13, 2006

dump a web page and its links by wget


Every few weeks I need to read wget manpage to find parameters to cache a single webpage and all its links, so perhaps better write it down here to save 5 minutes:

wget -r -H -l1 -k -P $targetdir --exclude-domains ${comma-seperated domain name} --user=xxx --password=xxx $url


Post a Comment

Links to this post:

Create a Link

<< Home