Re: OT: how do I download with curl from this web site?

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

 



On 08/20/2018 02:15 AM, Robert Lu wrote:
Sorry,

you should use -o (not -O):

curl -L 'https://download.oracle.com/otn-pub/java/jdk/8u181-b13/96a7b8442fe848ef90c96a2fad6ed6d1/jre-8u181-windows-i586.exe' \
--cookie oraclelicense=accept-securebackup-cookie \
-O /tmp/jre-8u181-windows-i586.exe

On 8/20/18 17:10, Robert Lu wrote:

Hi,

Have you read https://github.com/Homebrew/homebrew-cask/blob/53fdbf714a80a2a19b6902122f85550feced7771/Casks/java.rb#L5-L8 ?

You can just use curl:

curl -L 'https://download.oracle.com/otn-pub/java/jdk/8u181-b13/96a7b8442fe848ef90c96a2fad6ed6d1/jre-8u181-windows-i586.exe' \
--cookie oraclelicense=accept-securebackup-cookie \
-O /tmp/jre-8u181-windows-i586.exe

to download jre directly.


On 8/20/18 06:57, ToddAndMargo wrote:
Hi All,

If you guys would permit an Off Topic question, I know there
is a lot of intellectual property on this site that may
know the answer.

With "curl", I want to download

    jre-8u181-windows-i586.exe

and the x64 windows and x64 Linux versions too

from


http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html

According to Firefox's cliget, the address is:

https://download.oracle.com/otn-pub/java/jdk/8u181-b13/96a7b8442fe848ef90c96a2fad6ed6d1/jre-8u181-windows-i586.exe?AuthParam=1534577721_2ae0bad94b6341c2907ebf82aa395171

But how do I get the "AuthParam"?

I am stumped?

Many thanks,
-T

Thank you!

In my code, I write out "--output" rather than "-o" to make
it more human readable.



_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx/message/35IDRHJK2KKPYWEKW556AEXH7OGCFBIJ/



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux