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 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.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.