The useful option
wget --convert-links or
wget -k makes "links in downloaded HTML or CSS point to local files." It makes two passes:
- Pass 1: download files.
- Pass 2: convert links.
I want to do pass 1 now and pass 2 later. I want to invoke the two passes separately. I want
wget to stop after pass 1, let me do some stuff, and only then continue with pass 2. I just want to convert links as a separate command, whether the command is
wget or something else. How, please?
wget won't do this, then is there a Perl module, Python module or the like that will?