captchakiller-python


Namecaptchakiller-python JSON
Version 0.0.7 PyPI version JSON
download
home_pagehttps://github.com/captchakillernet/captchakiller-python
SummaryCaptchaKiller Python API Client Library, for solving captchas. Fast Recaptcha, funcaptcha, mtcaptcha Captcha Solver
upload_time2024-06-07 19:15:59
maintainerNone
docs_urlNone
authorcaptchakiller
requires_python>=3.6
licenseNone
keywords
VCS
bugtrack_url
requirements requests
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # captchakiller-python

## Installation
`pip install captchakiller-python`

## Usage
### Import the CaptchaKiller class
`from captchakiller import CaptchaKiller`

### Set your credentials
`captcha_killer = CaptchaKiller("API_KEY") # Optionally add partner id and/or timeout`

### Use the captcha_killer object
#### Get balance
```
response = captcha_killer.getbalance()
if response['success']:
    print("Balance: " + response["balance"])
else:
    print("Error: " + str(response["errorId"]) + " - " + response["error"])
```
#### Solve ReCaptcha V2
```

"""
    REQUIRED - sitekey: 6LfW6wATAAAAAHLqO2pb8bDBahxlMxNdo9g947u9 // Recaptcha v2 challenge site key
    REQUIRED - site: https://recaptcha-demo.appspot.com/ // Recaptcha v2 challenge page URL
    OPTIONAL - gdomain: false // If the domain is a Recaptcha, false is google by default
    OPTIONAL - invisible: false // If the Recaptcha is invisible, false by default
    OPTIONAL - payload: 3Zky78k550-A2.... // The s parameter in the anchor request
    OPTIONAL - proxytype: HTTP // Your proxy type (HTTP, SOCKS4, SOCKS5)
    OPTIONAL - proxyaddress: 127.0.0.1 // Your proxy address
    OPTIONAL - proxyport: 8080 // Your proxy port
    OPTIONAL - proxyuser: user // Your proxy login (if required)
    OPTIONAL - proxypass: pass // Your proxy password (if required)
"""

response = captcha_killer.recaptcha_v2("sitekey", "site")
if response['success']:
    print("Captcha solved: " + response["result"])
else:
    print("Error: " + str(response["errorId"]) + " - " + response["error"])
```

#### Solve ReCaptcha V2 Enterprise
```

"""
    REQUIRED - sitekey: 6LfW6wATAAAAAHLqO2pb8bDBahxlMxNdo9g947u9 // Recaptcha v2 challenge site key
    REQUIRED - site: https://recaptcha-demo.appspot.com/ // Recaptcha v2 challenge page URL
    OPTIONAL - gdomain: false // If the domain is a Recaptcha, false is google by default
    OPTIONAL - invisible: false // If the Recaptcha is invisible, false by default
    OPTIONAL - payload: 3Zky78k550-A2.... // The s parameter in the anchor request
    OPTIONAL - action: Default // The sa parameter in the anchor request
    OPTIONAL - proxytype: HTTP // Your proxy type (HTTP, SOCKS4, SOCKS5)
    OPTIONAL - proxyaddress: 127.0.0.1 // Your proxy address
    OPTIONAL - proxyport: 8080 // Your proxy port
    OPTIONAL - proxyuser: user // Your proxy login (if required)
    OPTIONAL - proxypass: pass // Your proxy password (if required)
"""

response = captcha_killer.recaptcha_v2_enterprise("sitekey", "site")
if response['success']:
    print("Captcha solved: " + response["result"])
else:
    print("Error: " + str(response["errorId"]) + " - " + response["error"])
```

#### Solve ReCaptcha V3 Low Score
```

"""
    REQUIRED - sitekey: 6LdKlZEpAAAAAAOQjzC2v_d36tWxCl6dWsozdSy9 // Recaptcha v3 challenge site key
    REQUIRED - site: https://recaptcha-demo.appspot.com/ // Recaptcha v3 challenge page URL
    REQUIRED - action: examples/v3scores // Recaptcha v3 site action, if not known, try "homepage", "submit", "verify", "register", or "login"
    OPTIONAL - gdomain: false // If the domain is a Recaptcha, false is google by default
"""

response = captcha_killer.recaptcha_v2_enterprise("sitekey", "site", "action")
if response['success']:
    print("Captcha solved: " + response["result"])
else:
    print("Error: " + str(response["errorId"]) + " - " + response["error"])
```

#### Solve Funcaptcha / Arkoselabs
```

"""
    REQUIRED - publickey: DF9C4D87-CB7B-4062-9FEB-BADB6ADA61E6 // Public key of the FunCaptcha challeng
    REQUIRED - site: https://demo.arkoselabs.com // URL of the website where the FunCaptcha challenge is located
    OPTIONAL - surl: https://client-api.arkoselabs.com // URL of the Arkose Labs API server
    OPTIONAL - datatype: blob // Data type of the data sent in the challenge
    OPTIONAL - data: ENsYWf9hLu6E5oSTcPby1t8iK4TCZgv... // Data sent in the challenge
"""

response = captcha_killer.recaptcha_v2_enterprise("publickey", "site")
if response['success']:
    print("Captcha solved: " + response["result"])
else:
    print("Error: " + str(response["errorId"]) + " - " + response["error"])
```

#### Solve MTCaptcha
```

"""
    REQUIRED - sitekey: MTPublic-DemoKey9M // MTCaptcha site key, always contains MTPublic
    REQUIRED - site: https://service.mtcaptcha.com // URL of the site that contains the MTCaptcha
    OPTIONAL - action: login // MTCaptcha action that is inside of the getchallenge.json request (act parameter)
"""

response = captcha_killer.mtcaptcha("MTPublic-DemoKey9M", "https://service.mtcaptcha.com")
if response['success']:
    print("Captcha solved: " + response["result"])
else:
    print("Error: " + str(response["errorId"]) + " - " + response["error"])
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/captchakillernet/captchakiller-python",
    "name": "captchakiller-python",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": null,
    "author": "captchakiller",
    "author_email": "support@captchakiller.net",
    "download_url": "https://files.pythonhosted.org/packages/1e/5a/87476c0677db7a159f5f4f839d76f8792ece6fcdf24221e474d0227ca77f/captchakiller_python-0.0.7.tar.gz",
    "platform": null,
    "description": "# captchakiller-python\n\n## Installation\n`pip install captchakiller-python`\n\n## Usage\n### Import the CaptchaKiller class\n`from captchakiller import CaptchaKiller`\n\n### Set your credentials\n`captcha_killer = CaptchaKiller(\"API_KEY\") # Optionally add partner id and/or timeout`\n\n### Use the captcha_killer object\n#### Get balance\n```\nresponse = captcha_killer.getbalance()\nif response['success']:\n    print(\"Balance: \" + response[\"balance\"])\nelse:\n    print(\"Error: \" + str(response[\"errorId\"]) + \" - \" + response[\"error\"])\n```\n#### Solve ReCaptcha V2\n```\n\n\"\"\"\n    REQUIRED - sitekey: 6LfW6wATAAAAAHLqO2pb8bDBahxlMxNdo9g947u9 // Recaptcha v2 challenge site key\n    REQUIRED - site: https://recaptcha-demo.appspot.com/ // Recaptcha v2 challenge page URL\n    OPTIONAL - gdomain: false // If the domain is a Recaptcha, false is google by default\n    OPTIONAL - invisible: false // If the Recaptcha is invisible, false by default\n    OPTIONAL - payload: 3Zky78k550-A2.... // The s parameter in the anchor request\n    OPTIONAL - proxytype: HTTP // Your proxy type (HTTP, SOCKS4, SOCKS5)\n    OPTIONAL - proxyaddress: 127.0.0.1 // Your proxy address\n    OPTIONAL - proxyport: 8080 // Your proxy port\n    OPTIONAL - proxyuser: user // Your proxy login (if required)\n    OPTIONAL - proxypass: pass // Your proxy password (if required)\n\"\"\"\n\nresponse = captcha_killer.recaptcha_v2(\"sitekey\", \"site\")\nif response['success']:\n    print(\"Captcha solved: \" + response[\"result\"])\nelse:\n    print(\"Error: \" + str(response[\"errorId\"]) + \" - \" + response[\"error\"])\n```\n\n#### Solve ReCaptcha V2 Enterprise\n```\n\n\"\"\"\n    REQUIRED - sitekey: 6LfW6wATAAAAAHLqO2pb8bDBahxlMxNdo9g947u9 // Recaptcha v2 challenge site key\n    REQUIRED - site: https://recaptcha-demo.appspot.com/ // Recaptcha v2 challenge page URL\n    OPTIONAL - gdomain: false // If the domain is a Recaptcha, false is google by default\n    OPTIONAL - invisible: false // If the Recaptcha is invisible, false by default\n    OPTIONAL - payload: 3Zky78k550-A2.... // The s parameter in the anchor request\n    OPTIONAL - action: Default // The sa parameter in the anchor request\n    OPTIONAL - proxytype: HTTP // Your proxy type (HTTP, SOCKS4, SOCKS5)\n    OPTIONAL - proxyaddress: 127.0.0.1 // Your proxy address\n    OPTIONAL - proxyport: 8080 // Your proxy port\n    OPTIONAL - proxyuser: user // Your proxy login (if required)\n    OPTIONAL - proxypass: pass // Your proxy password (if required)\n\"\"\"\n\nresponse = captcha_killer.recaptcha_v2_enterprise(\"sitekey\", \"site\")\nif response['success']:\n    print(\"Captcha solved: \" + response[\"result\"])\nelse:\n    print(\"Error: \" + str(response[\"errorId\"]) + \" - \" + response[\"error\"])\n```\n\n#### Solve ReCaptcha V3 Low Score\n```\n\n\"\"\"\n    REQUIRED - sitekey: 6LdKlZEpAAAAAAOQjzC2v_d36tWxCl6dWsozdSy9 // Recaptcha v3 challenge site key\n    REQUIRED - site: https://recaptcha-demo.appspot.com/ // Recaptcha v3 challenge page URL\n    REQUIRED - action: examples/v3scores // Recaptcha v3 site action, if not known, try \"homepage\", \"submit\", \"verify\", \"register\", or \"login\"\n    OPTIONAL - gdomain: false // If the domain is a Recaptcha, false is google by default\n\"\"\"\n\nresponse = captcha_killer.recaptcha_v2_enterprise(\"sitekey\", \"site\", \"action\")\nif response['success']:\n    print(\"Captcha solved: \" + response[\"result\"])\nelse:\n    print(\"Error: \" + str(response[\"errorId\"]) + \" - \" + response[\"error\"])\n```\n\n#### Solve Funcaptcha / Arkoselabs\n```\n\n\"\"\"\n    REQUIRED - publickey: DF9C4D87-CB7B-4062-9FEB-BADB6ADA61E6 // Public key of the FunCaptcha challeng\n    REQUIRED - site: https://demo.arkoselabs.com // URL of the website where the FunCaptcha challenge is located\n    OPTIONAL - surl: https://client-api.arkoselabs.com // URL of the Arkose Labs API server\n    OPTIONAL - datatype: blob // Data type of the data sent in the challenge\n    OPTIONAL - data: ENsYWf9hLu6E5oSTcPby1t8iK4TCZgv... // Data sent in the challenge\n\"\"\"\n\nresponse = captcha_killer.recaptcha_v2_enterprise(\"publickey\", \"site\")\nif response['success']:\n    print(\"Captcha solved: \" + response[\"result\"])\nelse:\n    print(\"Error: \" + str(response[\"errorId\"]) + \" - \" + response[\"error\"])\n```\n\n#### Solve MTCaptcha\n```\n\n\"\"\"\n    REQUIRED - sitekey: MTPublic-DemoKey9M // MTCaptcha site key, always contains MTPublic\n    REQUIRED - site: https://service.mtcaptcha.com // URL of the site that contains the MTCaptcha\n    OPTIONAL - action: login // MTCaptcha action that is inside of the getchallenge.json request (act parameter)\n\"\"\"\n\nresponse = captcha_killer.mtcaptcha(\"MTPublic-DemoKey9M\", \"https://service.mtcaptcha.com\")\nif response['success']:\n    print(\"Captcha solved: \" + response[\"result\"])\nelse:\n    print(\"Error: \" + str(response[\"errorId\"]) + \" - \" + response[\"error\"])\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "CaptchaKiller Python API Client Library, for solving captchas. Fast Recaptcha, funcaptcha, mtcaptcha Captcha Solver",
    "version": "0.0.7",
    "project_urls": {
        "Documentation": "https://captchakiller.gitbook.io",
        "Homepage": "https://captchakiller.net"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ef9915c4524637c8b6317da47108a1018a5e5e5c464cd07a651cc77a0cfff05b",
                "md5": "faf3643ae4fc2b21fe6298663b95fe75",
                "sha256": "74e5f70a9ab666e42762b60fb2c7ae602c93626e76339552580d39f8495d1021"
            },
            "downloads": -1,
            "filename": "captchakiller_python-0.0.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "faf3643ae4fc2b21fe6298663b95fe75",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 4832,
            "upload_time": "2024-06-07T19:15:58",
            "upload_time_iso_8601": "2024-06-07T19:15:58.260230Z",
            "url": "https://files.pythonhosted.org/packages/ef/99/15c4524637c8b6317da47108a1018a5e5e5c464cd07a651cc77a0cfff05b/captchakiller_python-0.0.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1e5a87476c0677db7a159f5f4f839d76f8792ece6fcdf24221e474d0227ca77f",
                "md5": "e73348ff06de2c224a732b24ec61cf3a",
                "sha256": "8ba8ee975bad0732444b56afe43d94c5fa72a866eaa10b2f91bf60121c80193a"
            },
            "downloads": -1,
            "filename": "captchakiller_python-0.0.7.tar.gz",
            "has_sig": false,
            "md5_digest": "e73348ff06de2c224a732b24ec61cf3a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 4460,
            "upload_time": "2024-06-07T19:15:59",
            "upload_time_iso_8601": "2024-06-07T19:15:59.756456Z",
            "url": "https://files.pythonhosted.org/packages/1e/5a/87476c0677db7a159f5f4f839d76f8792ece6fcdf24221e474d0227ca77f/captchakiller_python-0.0.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-07 19:15:59",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "captchakillernet",
    "github_project": "captchakiller-python",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "requests",
            "specs": []
        }
    ],
    "lcname": "captchakiller-python"
}
        
Elapsed time: 1.18373s