curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: How do I read this download button?

From: ToddAndMargo via curl-users <curl-users_at_lists.haxx.se>
Date: Mon, 24 Jul 2023 13:25:28 -0700

On 7/24/23 07:51, Paul Gilmartin via curl-users wrote:
> On 7/24/23 02:47:25, ToddAndMargo via curl-users wrote:
>>
>> Fedora 38
>> curl-8.0.1-2.fc38.x86_64
>> firefox-115.0.2-3.fc38.x86_64
>>
>>  From Firefox with
>>     Tools-->Browser Tools-->Web Developers Tools-->Network
>>
>> https://toolslib.net/downloads/viewdownload/1-adwcleaner/files/2697/
>>
>> When I click on the "Download" button, I see
>>     https://imgur.com/RJDWkh3.png
>>
>> The line in red has everything I need to know,
>> which is (right click on the line, select copy URL):
>>
>> https://download.toolslib.net/download/file/1/2697?s=44UKj76LIX5pK8CEccNxAvjeAKhb2tBo
>>
>> How do I get this with curl?
>
>
>      curl --remote-name --remote-header-name \
>
> https://download.toolslib.net/download/file/1/2697?s=44UKj76LIX5pK8CEccNxAvjeAKhb2tBo
>

I am not sure what that gives me?

    $ curl --remote-name --remote-header-name
https://download.toolslib.net/download/file/1/2697?s=44UKj76LIX5pK8CEccNxAvjeAKhb2tBo
-o -
      % Total % Received % Xferd Average Speed Time Time
Time Current
                                  Dload Upload Total Spent Left
Speed
      0 0 0 0 0 0 0 0 --:--:-- --:--:--
--:--:-- 0
    Warning: Got more output options than URLs


Also, how do I get/find the

      ?s=44UKj76LIX5pK8CEccNxAvjeAKhb2tBo

from

      https://toolslib.net/downloads/viewdownload/1-adwcleaner/files/2697/

The `?s=...` is what I really need.

Many thanks,
-T

-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2023-07-24