I have a web page which contains a link to a document. I'm able to download the document by using the following command:
wget -r -A.doc www.website.com/1.doc
However, I would like to provide the link to the page which contains the document and for
wget to scan for the document link and download it.
Is there a way to use
wget to scan for a specific link being a document type?