How do I mirror a MLB web page?
August 27, 2005 3:46 PM   Subscribe

I'd like to use wget to make a local copy of a web page at mlb.com (specifically this one) but all my attempts have resulted in an incomplete page. What arguments should I be giving wget to make it work?
posted by event to Computers & Internet (4 answers total)
 
Maybe you want to use HTTrack instead?
posted by dhammala at 4:41 PM on August 27, 2005


My beau says that he has always had good luck using -m (for mirror) as the sole flag. He further says that it gets "wonky" when trying to mirror flash driven sites but is good with straight html and php driven sites.

curl is another useful tool.
posted by krix at 4:48 PM on August 27, 2005


Best answer: Ooo! Oooo! I know this one! I even wrote a blog post about it. The most important flags are -p and -k, but see the blog post for more details.

The -m flag is cool, but it's something different. It recurses and I believe it doesn't rewrite links inside a page to point to local copies.
posted by Nelson at 12:58 AM on August 28, 2005


Response by poster: Thanks Nelson. That didn't quite do the trick -- there were some pictures defined in URLs in the .css files that it referenced incorrectly, but it got me close enough that I was able to finish it off by hand.
posted by event at 6:28 AM on August 29, 2005


« Older "Paris is always Paris and Berlin is never Berlin...   |   Lost in Little Rock Newer »
This thread is closed to new comments.