Re: How do I read this download button?
Dan Fandrich via curl-users <[email protected]>
| Newsgroups | gmane.comp.web.curl.general |
|---|---|
| Message-ID | <[email protected]> |
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! -- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users Etiquette: https://curl.se/mail/etiquette.html