bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] Downloading from us.ua hoster


From: Ángel González
Subject: Re: [Bug-wget] Downloading from us.ua hoster
Date: Mon, 07 May 2012 17:20:08 +0200
User-agent: Thunderbird

On 02/05/12 15:36, ptrk mj wrote:
> 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?
No. But you could either add such option to wget, or make a script
wrapper around wget that performs that function.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]