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: Can't find the revision on this web site
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Dan Fandrich via curl-users <curl-users_at_lists.haxx.se>
Date: Sat, 27 Jan 2024 09:22:53 -0800
On Sat, Jan 27, 2024 at 02:36:53AM -0800, ToddAndMargo via curl-users wrote:
> On this web site,
> https://www.eset.com/int/support/av-remover/
> Firefox shows "Version: 1.6.7.0".
>
> How to I find that revision number with curl:
The site uses dynamic HTML to build the page. You'll probably notice a brief
pause between the time the page first shows up on your browser and the download
links appear; that's the time where the page is requesting the list of
downloads including versions.
If you go to the page in a browser and open the network tab in the developer
tools, you'll see at least a dozen GET requests and one of them of type JSON or
XHR looks like this:
https://www.eset.com/int/support/av-remover/?tx_esetdownloads_ajax%5Bbeta%5D=0&tx_esetdownloads_ajax%5Bpage_id%5D=15485&tx_esetdownloads_ajax%5Bplugin_id%5D=486706&tx_esetdownloads_ajax%5Bproduct%5D=47&type=13554&lang=en&tx_esetdownloads_ajax%5Bproduct%5D=47&tx_esetdownloads_ajax%5Bbeta%5D=0&tx_esetdownloads_ajax%5Bpage_id%5D=15485&tx_esetdownloads_ajax%5Bplugin_id%5D=486706
That downloads a JSON document containing the different program versions and
platforms. Some JavaScript then builds an HTML table out of that, which is what
you can see on the page.
Dan
Date: Sat, 27 Jan 2024 09:22:53 -0800
On Sat, Jan 27, 2024 at 02:36:53AM -0800, ToddAndMargo via curl-users wrote:
> On this web site,
> https://www.eset.com/int/support/av-remover/
> Firefox shows "Version: 1.6.7.0".
>
> How to I find that revision number with curl:
The site uses dynamic HTML to build the page. You'll probably notice a brief
pause between the time the page first shows up on your browser and the download
links appear; that's the time where the page is requesting the list of
downloads including versions.
If you go to the page in a browser and open the network tab in the developer
tools, you'll see at least a dozen GET requests and one of them of type JSON or
XHR looks like this:
https://www.eset.com/int/support/av-remover/?tx_esetdownloads_ajax%5Bbeta%5D=0&tx_esetdownloads_ajax%5Bpage_id%5D=15485&tx_esetdownloads_ajax%5Bplugin_id%5D=486706&tx_esetdownloads_ajax%5Bproduct%5D=47&type=13554&lang=en&tx_esetdownloads_ajax%5Bproduct%5D=47&tx_esetdownloads_ajax%5Bbeta%5D=0&tx_esetdownloads_ajax%5Bpage_id%5D=15485&tx_esetdownloads_ajax%5Bplugin_id%5D=486706
That downloads a JSON document containing the different program versions and
platforms. Some JavaScript then builds an HTML table out of that, which is what
you can see on the page.
Dan
-- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users Etiquette: https://curl.se/mail/etiquette.htmlReceived on 2024-01-27