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