bot dev : same request, different results

ShiinaMashiro

Junior Member
Joined
Mar 19, 2015
Messages
110
Reaction score
24
Hi there,

i like to develop my own private bots when i need automations on specific tasks and i've been quite successfull for many tasks.

However, i'm working now on my first bot that uses only HTTP Request and i have a problem i'm unable to solve right now :

-> I need to load a page A to perform a specific action on a website
-> Sometimes, when i load page A, some content get replaced by a reCaptcha that i need to solve to get access to the "real" page A.
-> I solve the captcha using an online anti captcha api, and i replicated all the static fields from a "manual" request, and changed all the variables that changes at every request (login cookie, g recaptcha response, etc...)

When i do it manually i get access to page A, when i do it programmatically i only get the login page (even though i didnt even disconnect...)

Any programmer that give me a clue about what's happening ?

Your help is much appreciated :)
 
maybe site kills your session when it detects that youre robot?
 
Sounds possibly like a cookie issue, have you printed to screen the cookie data to make sure it isn't empty?
 
Cookies are valid, and i wouldn't be able to access page A in the first place if they were not as i need to be logged in to access it

@PolitikZ yeah but my question is how can they detect it if my request is valid and the captcha is solved ?
 
Cookies are valid, and i wouldn't be able to access page A in the first place if they were not as i need to be logged in to access it

@PolitikZ yeah but my question is how can they detect it if my request is valid and the captcha is solved ?
request headers cookies how often you make requests many ways for example they might have image which sets cookie when its downloaded if you not making that requests they detect you as bot
 
Back
Top