Recaptcha solver
See original GitHub issueIs there an existing issue for this?
- I have searched the existing issues
I’m submitting a …
- bug report
- feature request
- support request --> Contact me over mail for support https://github.com/MShawon
Description
bro this code does not go forward in recaptcha so here is the idea of a recapthca solver try it out bro
r = sr.Recognizer()
try:
delay()
frames = driver.find_elements_by_tag_name("iframe")
recaptcha_control_frame = None
recaptcha_challenge_frame = None
for index, frame in enumerate(frames):
if re.search('reCAPTCHA', frame.get_attribute("title")):
recaptcha_control_frame = frame
if re.search('recaptcha challenge', frame.get_attribute("title")):
recaptcha_challenge_frame = frame
if not (recaptcha_control_frame and recaptcha_challenge_frame):
print("[ERR] Unable to find recaptcha. Abort solver.")
delay()
frames = driver.find_elements_by_tag_name("iframe")
driver.switch_to.frame(recaptcha_control_frame)
driver.find_element_by_class_name(
"recaptcha-checkbox-border").click()
delay()
driver.switch_to.default_content()
frames = driver.find_elements_by_tag_name("iframe")
driver.switch_to.frame(recaptcha_challenge_frame)
time.sleep(10)
driver.find_element_by_id("recaptcha-audio-button").click()
try:
driver.switch_to.default_content()
frames = driver.find_elements_by_tag_name("iframe")
driver.switch_to.frame(recaptcha_challenge_frame)
delay()
src = driver.find_element_by_id(
"audio-source").get_attribute("src")
path_to_mp3 = os.path.normpath(
os.path.join(os.getcwd(), "sample.mp3"))
path_to_wav = os.path.normpath(
os.path.join(os.getcwd(), "sample.wav"))
urllib.request.urlretrieve(src, path_to_mp3)
except:
driver.quit()
# os.system("check.exe")
try:
sound = pydub.AudioSegment.from_mp3(path_to_mp3)
sound.export(path_to_wav, format="wav")
sample_audio = sr.AudioFile(path_to_wav)
except Exception:
driver.close()
driver.quit()
delay()
r = sr.Recognizer()
with sample_audio as source:
audio = r.record(source)
key = r.recognize_google(audio)
delay()
driver.find_element_by_id("audio-response").send_keys(key.lower())
driver.find_element_by_id("audio-response").send_keys(Keys.ENTER)
except:
driver.quit()
Environment
- OS : windows
- Python : 3.9
- Script version : 1.6.7
config.json
{
"http_api": {
"enabled": true,
"host": "0.0.0.0",
"port": 5000
},
"database": true,
"views": 100,
"minimum": 85.0,
"maximum": 95.0,
"proxy": {
"category": "f",
"proxy_type": false,
"filename": false,
"authentication": false,
"proxy_api": false,
"refresh": 0.0
},
"background": false,
"bandwidth": true,
"playback_speed": 1,
"max_threads": 5,
"min_threads": 2
}
Issue Analytics
- State:
- Created 10 months ago
- Comments:32 (2 by maintainers)
Top Results From Across the Web
ReCaptcha Solver
Verify google ReCaptcha automatically with 2captcha, DeathByCaptcha, ImageTyperz, Anti-Captcha, BestCaptchaSolver And EndCaptcha Without API ...
Read more >2Captcha: Captcha Solving Service, reCAPTCHA Recognition ...
Fastest online captcha solving service. From $1.00 for 1000 captchas. API: PHP, Python, C++, JAVA, C#.
Read more >Anti Captcha: Captcha Solving Service. Bypass Recaptcha ...
Browser plugin. Solve Recaptchas and image captchas with our free captcha solver tool for your browser - No user interaction required - Integrates...
Read more >recaptcha-v2-captcha-solver · GitHub Topics
C# library for easy integration with the API of 2captcha captcha solving service to bypass recaptcha, hcaptcha, funcaptcha, geetest and solve any other...
Read more >CaptchaAI - The 1st "reCAPTCHA", "hCaptcha" OCR Solver
Supports 27,500 + image captchas, reCAPTCHA v2, Invisible reCAPTCHA, Solve Media, etc. SUPPORTED CAPTCHA TYPES. reCAPTCHA v2 100% accuracy.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Bro a doubt what happens if we run a bot on random video without there consent as u said 🙄 is there any issue
Free proxies won’t do any good… it’s just there to get people started to see how this works… This captcha thing only appears in free proxies…
Opening someone’s video for a second or something is not the right thing to do. You shouldn’t open someone’s video in a view bot without their consent.
https://github.com/MShawon/YouTube-Viewer#traffic-sources as mentioned there you already get suggested views from this bot… Just use multiple videos to get suggested views from those videos