curl / Mailing Lists / curl-users / Single Mail
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: Problem reading revision from a web page

From: ToddAndMargo via curl-users <curl-users_at_lists.haxx.se>
Date: Thu, 27 Oct 2022 23:58:55 -0700

On 10/27/22 23:42, ToddAndMargo via curl-users wrote:
> Hi All
>
> Fedora 36
> curl-7.82.0-8.fc36.x86_64
>
> I am having trouble read, well finding, the version
> from this web site:
>
> https://www.eset.com/us/home/internet-security/download/#download-manually
>
> There is a button on the middle right called
> "Advanced download"
>
>     https://imgur.com/BnKtN5nl.png
>
> Clicking on that brings up
>
>     https://imgur.com/zwyESkYl.png
>
> But the URL in Firefox does not change.
>
> In Firefox, if I read the page source
>
> view-source:https://www.eset.com/us/home/internet-security/download/#download-manually
>
> The advanced options do not exist.
>
> Digging out the json call, the address it
>
>     JsonAddr =
> <https://www.eset.com/us/business/download/endpoint-security-windows/?type=13554&amp;tx_esetdownloads_ajax%5Bproduct%5D=82&amp;tx_esetdownloads_ajax%5Bbeta%5D=0&amp;tx_esetdownloads_ajax%5Bpage_id%5D=931&amp;tx_esetdownloads_ajax%5Bplugin_id%5D=1456376
>
> Which give me
>
>     "Something is wrong
>
>     Server Error 403. Access denied. You are
>     not allowed to see this page."
>
> It did not use to.
>
> Why can Firefox see it, but I can not?
>
> How do I get the "Version" line of the "Advanced
> download" page?  How do I even get the page?
>
> Is there any other way to get the "Version"?
>
> Many thanks,
> -T
>


This will give me the page I want in Firefox,
but not curl

https://www.eset.com/us/business/download/endpoint-security-windows/?type=13554&tx_esetdownloads_ajax[product]=82&tx_esetdownloads_ajax[product]=82&tx_esetdownloads_ajax[beta]=0&tx_esetdownloads_ajax[beta]=0&tx_esetdownloads_ajax[page_id]=931&tx_esetdownloads_ajax[page_id]=931&tx_esetdownloads_ajax[plugin_id]=1456376&tx_esetdownloads_ajax[plugin_id]=1456376&lang=us


$ curl
'https://www.eset.com/us/business/download/endpoint-security-windows/?type=13554&tx_esetdownloads_ajax[product]=82&tx_esetdownloads_ajax[product]=82&tx_esetdownloads_ajax[beta]=0&tx_esetdownloads_ajax[beta]=0&tx_esetdownloads_ajax[page_id]=931&tx_esetdownloads_ajax[page_id]=931&tx_esetdownloads_ajax[plugin_id]=1456376&tx_esetdownloads_ajax[plugin_id]=1456376&lang=us'
-o eraseme.html
curl: (3) bad range in URL position 103:




-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-users
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2022-10-28