Re: How do I read this download button?

Dan Fandrich via curl-users <[email protected]>
Newsgroups gmane.comp.web.curl.general
Message-ID <ZL7fw2vfKG4/[email protected]>
On Mon, Jul 24, 2023 at 01:25:28PM -0700, ToddAndMargo via curl-users wrote:
> 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 -

The -o there un-does the --remote-name and is giving an error message; drop
it. --remote-header-name will use the file name provided by the server in an
HTTP header. However, I don't see such a header in that URL, and that URL
actually doesn't look like it points to any kind of download, so it's probably
not the one you want.

> Also, how do I get/find the
> 
>      ?s=44UKj76LIX5pK8CEccNxAvjeAKhb2tBo
> 
> from
> 
>      https://toolslib.net/downloads/viewdownload/1-adwcleaner/files/2697/

Use an HTML parser.

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