Re: How do I read this download button?

ToddAndMargo via curl-users <[email protected]>
Newsgroups gmane.comp.web.curl.general
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.