Python Forum
NEED HELP WITH REQUEST PACKAGE
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
NEED HELP WITH REQUEST PACKAGE
#1
I'm trying to build an automated solution for accessing a captcha‐protected website (specifically IRCTC) using HTTP requests instead of a full browser. I want to display the live captcha image—i.e. the one generated for the current session by the server—in my application (for example, in a Tkinter GUI) so that a user can manually enter the captcha and submit the form. I've tried fetching the captcha from a dedicated endpoint and even by "pinging" the live signup page using different headers for each action (session initialization, captcha fetching, form submission), but I end up with a mismatch: the captcha I display isn't what the server expects when I submit the form.

I'm also curious if this approach (fetching and displaying the live captcha for manual solving) can be implemented in other languages like .NET/C# or C++.
Reply
#2
Hi there,

well, it pretty obvious that the captcha on the whatever site you try to access works: it prevents an (semi-) automated access like you are trying to implement.

Except this, you post lacks of a Python-centered question. You describe what you do, but this doesn't result in a question nor is any code shown... So: what type of help would you like to see?

The only real question "... can be implemented in other languages like .NET/C# or C++." is off-topic here, as the forum is all about Python and Python only. Question like this may be better raised on multi programming language forum like Stackoveflow.

Regards, noisefloor
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  MPEG DASH Package implementation similar to M3U8 package anantha_narayanan 0 594 Feb-06-2025, 03:55 AM
Last Post: anantha_narayanan
  how can I correct the Bad Request error on my curl request tomtom 8 7,226 Oct-03-2021, 06:32 AM
Last Post: tomtom
  ImportError: cannot import name 'Request' from 'request' abhishek81py 1 5,181 Jun-18-2020, 08:07 AM
Last Post: buran

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020