Buy commercial curl support. 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 Daniel himself.
Re: How do I get around a captcha challenge?
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: ToddAndMargo via curl-users <curl-users_at_lists.haxx.se>
Date: Sun, 10 Aug 2025 02:03:43 -0700
On 8/9/25 10:37 PM, Dan Fandrich via curl-users wrote:
> On Sat, Aug 09, 2025 at 10:12:21PM -0700, ToddAndMargo via curl-users wrote:
>> How do I get around the CAPTCHA challenge on this web site?
>>
>> https://www.eset.com/us/home/internet-security/#download-manually
>
> I'm not seeing a CAPTCHA on that site. Downloading the direct URL works
> with curl for me. If you're seeing a CAPTCHA, then the site probably doesn't
> like the IP address or browser you're on or for whatever reason doesn't want to
> allow a scripted download. And if there were an easy way to bypass that CAPTCHA
> when it appears, then the whole purpose of putting a CAPTCHA in the download
> flow has failed.
>
> Dan
Now this is interesting. I can run it from the command line
curl https://www.eset.com/us/home/internet-security/#download-manually
--output eraseme2.html
and no problem.
But if I call it from my Raku curl module:
my Str $WebSite = "--connect-timeout " ~ %MaxTime<MaxTime1> ~ "
https://www.eset.com/us/home/internet-security/download/#download-manually";
( $WebPage, $PageStatus ) = CurlGetWebSite( $WebSite );
Hmmmmmmmmmmmmm.
I will try different user agent strings and see what happens.
Date: Sun, 10 Aug 2025 02:03:43 -0700
On 8/9/25 10:37 PM, Dan Fandrich via curl-users wrote:
> On Sat, Aug 09, 2025 at 10:12:21PM -0700, ToddAndMargo via curl-users wrote:
>> How do I get around the CAPTCHA challenge on this web site?
>>
>> https://www.eset.com/us/home/internet-security/#download-manually
>
> I'm not seeing a CAPTCHA on that site. Downloading the direct URL works
> with curl for me. If you're seeing a CAPTCHA, then the site probably doesn't
> like the IP address or browser you're on or for whatever reason doesn't want to
> allow a scripted download. And if there were an easy way to bypass that CAPTCHA
> when it appears, then the whole purpose of putting a CAPTCHA in the download
> flow has failed.
>
> Dan
Now this is interesting. I can run it from the command line
curl https://www.eset.com/us/home/internet-security/#download-manually
--output eraseme2.html
and no problem.
But if I call it from my Raku curl module:
my Str $WebSite = "--connect-timeout " ~ %MaxTime<MaxTime1> ~ "
https://www.eset.com/us/home/internet-security/download/#download-manually";
( $WebPage, $PageStatus ) = CurlGetWebSite( $WebSite );
Hmmmmmmmmmmmmm.
I will try different user agent strings and see what happens.
-- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users Etiquette: https://curl.se/mail/etiquette.htmlReceived on 2025-08-10