A 6obcy command-line client built in Python that is simple and easy to use.
- No web browser needed at all (uses websockets, doesn't depend on selenium)
- Automatically connect and solve captcha (using 2Captcha API, more below)
- Automatically ask for stranger's gender
- Disconnect automatically when found "M"
- Ring a bell when found "K"
- Log all conversations into files
- Save all solved captchas (in case you want to have some fun trying to crack them using machine learning)
- Changes the captcha after 3 failed solving attempts
- Properly integrates with 2Captcha API and reports both well and wrongly resolved captchas
Python3 required to run.
Install the dependencies from requirements.txt
:
pip3 install -r requirements.txt
or
pip3 install 2captcha-python beepy websocket-client
python3 main.py <YOUR_API_KEY> <LOCATION_CODE>
Whereas <YOUR_API_KEY>
is your 2Captcha API key and <LOCATION_CODE>
is a code from 0 to 17 determining selected region (you can check it with F12->Network->Find websocket connection)
Just wait for beep and type :)
If you want to close the conversation, type :q
This project uses 2Captcha as the captcha solving api. Therefore, you need to specify an API key. NOTE: You don't actually have to pay for it with money. You can just register as a worker and solve some captchas.
- (fix) The "km" request goes to the end of the last conversation log
- Better management of typing state (should use a non-blocking input)