JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 06.09.2020, 09:12
Grett Grett is offline
Modem User
 
Join Date: Sep 2020
Posts: 1
Default Auto-click ReCaptcha v3 [Python Script]

Hello,
I want to share with you a simple but effective script to auto-solve the ReCaptcha v3. I've tested it on MixDrop and works fine. I hope this can help someone.

How it works
It uses the PyAutogui library to emulate a mouse click. If you set the coordinates of the browser button, the script will click on this part of the screen every X seconds. When JDownloader opens the webpage to click the ReCaptcha, this script will do this for you

What to install
This script have been tested on Linux, but should work on every platform thanks to PyAutogui.
Install Python on your system.
Run this command to install the libraries pip3 install datetime pyautogui

The Script

import pyautogui
import time

while 1>0:
----pyautogui.click(700, 210, button='left')
----time.sleep(10)


save it as mouse_autoclick.py then you can run it from a terminal running python3 mouse_autoclick.py
[EDIT] replace ---- with a TAB. You must keep the indentation of the 2 lines otherwise Python will returns an error. The forum deletes the TAB so I've put ---- insted of the TAB.

How to customize
The only thing you have to change, are the coordinates (700&200 in my script). You should insert the coordinates of the ReCaptcha button on your screen. You can do some try changing the button='left' to button='right' so you can see were the mouse is clicking.
time.sleep(10) tells to click every 10 seconds, you can put the seconds you prefer.

IMPORTANT NOTE
Since the script clicks every X seconds, you should keep the browser opened and JDownloader minimized. You can't use the PC while it's running because it moves the mouse every time. It's useful if you are not at the PC and want to download automatically

Last edited by Grett; 06.09.2020 at 09:15.
Reply With Quote
  #2  
Old 07.09.2020, 17:47
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

Hi,

1. We got reCaptchaV2 auto-click on our list but there are some more important addon bugs that have to be solved first.
2. Even if your script/project only has 3 lines, you should think about putting it on github so others can access it more easily and you can update it more easily

Thanks for sharing your work!

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
  #3  
Old 18.10.2020, 04:33
DukeM's Avatar
DukeM DukeM is offline
JD Adviser
 
Join Date: Sep 2019
Posts: 113
Default

This seems useful and thanks for sharing. Looks like this is basically just like an autoclicker though right?

I'm not a very good coder but I think it shouldn't be hard to have an integration somehow that only activates the script when it detects JD2 opened a recaptcha link?
Reply With Quote
  #4  
Old 19.10.2020, 16:28
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

New/current Firefox myjd Addon has auto click support for reCaptchaV3
Chrome will also get it but it will need some more time to get released ...

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 22:05.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.