mirror a site with wget and download static media
- by mountainswhim
I'd like to mirror a site with wget and convert all the links to the local copies I've downloaded. So far that's easy all I have to do is wget -mk http://site.com
However all of the static media is located in a different domain, if I follow all of the foreign hosts using the -H option it will download that static media files, but it will also download anything else externally linked.
Is there a way to specify 'only download foreign hosts specified in list X'?