On 10/7/25 2:58 PM, ToddAndMargo via curl-users wrote:
On 10/7/25 2:00 AM, Hans Henrik Bergan wrote:
> https://www.eset.com/us/home/internet-security/ fetch the version
> number via javascript loading
> https://gwc.eset.com/v1/bundles/4?lang=us,
> and that url serves a JSON which means you'll need a JSON parser, for
> example jq+curl:
> curl -s 'https://gwc.eset.com/v1/bundles/4' | jq
> '.files.installer.[0].full_version'
> "18.2.18.0"
> - the version is 18.2.18.0
Thank you!
I stayed with the rev site instead of the download site as
I am getting tired of having to figure out what changes in
the web code ESET has done this month/week. They are
paranoid about bots. Can't say I blame them.
This is Raku (Perl 6):
# <h3><a class='collapsible'>ESET Internet Security</a></h3>
# ...
# class='version_full'>18.2.18.0</td><td
class='version_details'>September
10, 2025</td></tr>
$NewRev = $WebPage;
$NewRev ~~ s:i/ .*? $( Q[<h3><a class='collapsible'>ESET Internet
Security</a></h3>] ) //;
$NewRev ~~ s:i/ .*? $( Q[<td class='version_full'>] ) //;
$NewRev ~~ s:i/ $( Q[<] ) .* //;
--
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users
Etiquette: https://curl.se/mail/etiquette.html