Skip to content

Instantly share code, notes, and snippets.

View alperensert's full-sized avatar

Alperen Sert alperensert

View GitHub Profile
@alperensert
alperensert / captcha.py
Last active August 1, 2024 00:49
How to bypass Google reCaptcha v2 with Python Selenium and Capmonster
from selenium import webdriver
from capmonster_python import RecaptchaV2Task
from time import sleep
class RecaptchaV2Selenium:
def __init__(self, _client_key, executable_path):
self.user_agent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0"
self.captcha = RecaptchaV2Task(_client_key)
self.browser = webdriver.Firefox(executable_path=executable_path)
@alperensert
alperensert / .env
Created December 9, 2022 02:12
Solve Captchas with Selenium & Capmonster
API_KEY="your_api_key"
WEBSITE_KEY="6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-"
WEBSITE_URL="https://google.com/recaptcha/api2/demo"
USER_AGENT="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0"
@alperensert
alperensert / main.py
Created July 27, 2023 11:17
Bypass HCaptcha with Selenium & CapSolver Extesion [PYTHON]
import os
from time import sleep
from selenium import webdriver
from selenium.webdriver.chrome.service import Service
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.common.by import By
def main():
@alperensert
alperensert / main.py
Created July 30, 2023 14:12
Register to Roblox Bypassing FunCaptcha with CapSolver and Selenium [PYTHON]
import os
import random
from selenium import webdriver
from selenium.webdriver.chrome.service import Service
from selenium.webdriver.support.select import Select
from selenium.webdriver.support.wait import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.common.by import By
from random_user import RandomRobloxUser
@alperensert
alperensert / main.py
Created July 30, 2023 19:22
Bypass ReCaptcha V3 with Selenium & CapSolver
import os
import time
from selenium import webdriver
from selenium.webdriver.chrome.service import Service
from selenium.webdriver.common.by import By
from selenium.webdriver.support.wait import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
def main():