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?
And if wget won't do this, then is there a Perl module, Python module or the like that will?
(For reference: this answer partly answers my question. This question is similar, but its answer seems to fail. At any rate, neither gives something that actually works as far as I can tell.)
wgetlacks the feature I need. Therefore, I might try to add the feature to the next version ofwget.