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?
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: ToddAndMargo via curl-users <curl-users_at_lists.haxx.se>
Date: Mon, 24 Jul 2023 15:22:07 -0700
On 7/24/23 13:59, Dan Fandrich via curl-users wrote:
> On Mon, Jul 24, 2023 at 01:54:34PM -0700, ToddAndMargo via curl-users wrote:
>> Parsing through the source code, looking for `?s=` it changes for each time
>> you load the page. All I have to do is extract the `"s=...` and I can
>> download the file I want. (Well before the scramble expires.)
>>
>> $ curl --header 'Host: download.toolslib.net' 'https://download.toolslib.net/download/file/1/2697?s=a2bhDHNQhWOv2NGyTwo0qV2qVOG0wrTj'
>> --output eraseme.exe
>
> The --header option is completely unnecessary here. curl sets that already.
>
>> Thank you!
>
> Glad you got it working!
Just out of curiousity, what is the
?s=a2bhDHNQhWOv2NGyTwo0qV2qVOG0wrTj
called? I presume it is not a "cookie".
Date: Mon, 24 Jul 2023 15:22:07 -0700
On 7/24/23 13:59, Dan Fandrich via curl-users wrote:
> On Mon, Jul 24, 2023 at 01:54:34PM -0700, ToddAndMargo via curl-users wrote:
>> Parsing through the source code, looking for `?s=` it changes for each time
>> you load the page. All I have to do is extract the `"s=...` and I can
>> download the file I want. (Well before the scramble expires.)
>>
>> $ curl --header 'Host: download.toolslib.net' 'https://download.toolslib.net/download/file/1/2697?s=a2bhDHNQhWOv2NGyTwo0qV2qVOG0wrTj'
>> --output eraseme.exe
>
> The --header option is completely unnecessary here. curl sets that already.
>
>> Thank you!
>
> Glad you got it working!
Just out of curiousity, what is the
?s=a2bhDHNQhWOv2NGyTwo0qV2qVOG0wrTj
called? I presume it is not a "cookie".
-- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users Etiquette: https://curl.se/mail/etiquette.htmlReceived on 2023-07-25