Quote:
Originally Posted by cptnemo
Yes, but I have 1,300 pages. I can't fix manually every single broken link. So I need some software to do it for me: move the pages and links from subfolder to one parent folder.
|
I know you've already mirrored the site so might not want to do it again but I use "wget" to mirror web sites and it has a "no directories" option ("-nd") which stops it creating sub-directories. It also fixes up the internal links so nothing is broken.
The actual command I use is:
Code:
wget.exe -p -k -nd -q -E -R js,txt,css -nc %pg%
which translates as:
get all images, etc. needed to display HTML page
make links in downloaded HTML point to local files
don't create directories
quiet
save HTML documents with `.html' extension
comma-separated list of rejected extensions: js,txt,css
skip downloads that would download to existing files
and you'll need to add "-r" for recursive download (thanks frostschutz for pointing that out below - my usage was for turning a single page into an epub)
You can get it from here:
http://gnuwin32.sourceforge.net/packages/wget.htm
Hope this helps
Andrew