Greeting everyone, I would like to download a file linked from http://us.ua/792900/ page. The url rests inside <form> element:
<form action="http://u4-4.us.ua/download/" method="post" id="fDownload"> <input type="hidden" name="server" value=""> <input type="hidden" name="file" value="792900"> <input type="submit" id="sdButton" value="Скачать"> </form> To retrieve it I could use: wget --post-data=file=792900 http://u4-4.us.ua/download/ and it works but is troublesome because it requires a manual search inside page source for a <form> element and it's contents. Isn't it possible to call wget like this: wget {options}... http://us.ua/792900/ and make it do the search for me?
