curl / Mailing Lists / curl-users / Single Mail


Re: how do I download from this web site?

From: Jeremy Nicoll <>
Date: Sat, 18 Aug 2018 14:37:13 +0100

On Sat, 18 Aug 2018, at 08:54, ToddAndMargo wrote:
> Hi All,
> I want to download
> jre-8u181-windows-i586.exe
> from
> According to Firefox's cliget, the address is:
> But how do I get the "AuthParam"?

How did FF get it for the session in which you used Firefox's 'cliget' feature?

Is it what happens when (as a user) you acccept the software licence? If so, your curl process will
have to mimic that stage first.

In my limited experience of doing something complicated with curl, you need to start at the
beginning - so maybe going to the oracle website pretending you've never been there before,
then see what happens at each necessary interaction, then find a way to replicate that in
curl. In my case that's meant using a scripting language to build each successive curl
request, and also to check that what comes back from each one has the expected return
code, no unexpected headers (for example no redirects), the expected set of cookies (ie
their names if not their values), and also do to some sanity checking on the contents of
any html you get, before (perhaps) parsing values out of that to plug in to the next

It might be impossible, if the website uses a lot of javascript and requires a human being
to interact with it. You might get on better using an automation scripting package (the
sort of thing used to test that GUI applications still work) which will simulate a person
pointing and clicking on various things on a series of pages being displayed in their
browser - something like AutoHotkey or AutoIt.

Jeremy Nicoll - my opinions are my own.
Received on 2018-08-18