That is, there is HTML like this: <p>Click the following to go to the <a href="http://www.something.com/junk.asp?thepageIwant=2";>next page</a>.</p>
What I need is for wget to understand that stuff following an "?" in a URL indicates that it's a distinctly different page, and it should go recursively retrieve it. The --recursive option and -A option doesn't seem to help. I had tried: wget -r -l2 -A "junk.asp?the*" and wget -r -l2 -A "junk.asp%3Fthe*" no command can download the file? Any help you can give me is appreciated. thanks