
⚙️ Prerequisites
- A working proxy (OPTIONAL)
- Python installed
- Capsolver API key
🤖 Step 1: Install Necessary Packages
Execute the following commands to install the required packages:
pip install capsolver
👨💻 Python Code for bypass Funcaptcha without proxy
Here's a Python sample script to accomplish the task:
import capsolver
capsolver.api_key = "your pay per usage key"
PAGE_URL = "websiteURL"
PAGE_KEY = "website site key"
def solver_funcaptcha(url,key):
solution = capsolver.solve({
"type": "FunCaptchaTaskProxyless",
"websiteURL": url,
"websitePublicKey":key
})
return solution
def main():
print("Solving Funcaptcha...")
solution = solver_funcaptcha(PAGE_URL, PAGE_KEY)
print("Solution: ", solution)
if __name__ == "__main__":
main()
👨💻Python Code for bypass Funcaptcha with your own proxy
Here's a Python sample script to accomplish the task:
import capsolver
import requests
capsolver.api_key = "your pay per usage key"
PAGE_URL = "websiteURL"
PAGE_KEY = "website site key"
PROXY = "http://username:password@host:port"
def solver_funcaptcha(url,key):
solution = capsolver.solve({
"type": "FunCaptchaTask",
"websiteURL": url,
"websitePublicKey":key,
"proxy":PROXY
})
return solution
def main():
print("Solving Funcaptcha...")
solution = solver_funcaptcha(PAGE_URL, PAGE_KEY)
print("Solution: ", solution)
if __name__ == "__main__":
main()
⚠️ Change these variables
- PROXY: Update with your proxy details. The format should be http://username:password@ip:port. Only required if use FuncaptchaTask
- capsolver.api_key: Obtain your API key from the Capsolver Dashboard.
- PAGE_URL: Replace with the URL of the website for which you wish to bypass funcaptcha captcha
- PAGE_KEY: Replace with the KEY of the website