I've downloaded and stored an index.htm page, and (depending on some criteria of this page) want to use wget to fetch all images, javascripts, css-files etc. a browser would download when displaying the page.
I currently use:
wget --server-response --timeout=120 --base="http://www.example.com/" --force-html --input-file="index.htm"
This works so far but it fetches as well all links defined like a href="/somesubpage.htm". How can I avoid downloading the a href...?