ranjan-mohanty / vfs-appointment-bot

VFS Appointment Bot - This script automates checking for appointments at VFS Global offices in a specified country.
MIT License
193 stars 95 forks source link

reCaptcha solving #13

Closed anovob closed 3 months ago

anovob commented 1 year ago

Now Its need reCaptcha solve. How can I solve reCaptcha with 2captcha api?

efecnc commented 1 year ago

You may start the webdriver with 2captcha addon.

` options.add_extension('captcha.crx') driver = webdriver.Chrome(executable_path=ChromeDriverManager().install(),options=options,desired_capabilities=caps) driver.get('chrome-extension://ifibfemgeogfhoebkmokieepdoobkbpo/options/options.html')

elm = WebDriverWait(driver, 15).until(EC.presence_of_element_located((By.XPATH, "//input[@name='apiKey']")))
elm.send_keys('2CAPTCHA_API_KEY')`
Metagymomics commented 1 year ago

Hi, I'm completely new to this. Could you please elaborate on how to incorporate the reCaptcha solve into the existing code. As the country I'm applying from also need reCaptcha solve.

Thanks a mill, Sai.

yuchenlichuck commented 1 year ago

Me too, what about polish websites

dankstarr commented 1 year ago

I need help figuring this out as well @efecnc

noramirkh commented 1 year ago

Hi, Do you plan to update with reCaptcha solving?

ranjan-mohanty commented 3 months ago

We recently updated the package, and it now handles most scenarios, including auto-solving CAPTCHAs(works in Firefox most of the times). I'll close this issue for now. Feel free to reopen it if you encounter the issue again.