PDA

View Full Version : [python] [mechanize] Clicking the pet captcha in mainshops



Jonathan
05-04-2016, 05:26 PM
Hi!

I am in the process of trying to make my own autobuyer, and the only place I am tripping up is how to click on the image captcha they do. I am using python 2.7 and the mechanize library in order to browse the web. I can manage everything else on the page aside from the actual act of clicking (I can haggle and find the coordinates I need to click).

The details for the form are this:
<haggleform POST [Only registered and activated users can see links] application/x-[Only registered and activated users can see links]
<TextControl(current_offer=0)>
<ImageControl(<None>=)>>

I have trawled the internet and the best I could find in terms of almost being useful is:
[Only registered and activated users can see links]

However, even after reading through the source code they provide, I could not come up with anything that worked.

Much appreciation to anyone who tries to help me! Thanks in advance :)

Note: I am not necessary looking for an actual solution - I would be very happy with just a pointer in the right direction!

(Note: I realise that countless people have made autobuyers: I have (finally) started learning to code with a degree of persistence, and I am just doing this as a learning experience! :) )