A powerful, multi-language library for solving VV-Captcha challenges with ease
VV-Captcha-Solver is a comprehensive solution for automating VV-Captcha token generation across multiple programming languages. Whether you're building web scrapers, automation tools, or need to bypass VV-Captcha protection, this library provides a simple and reliable interface.
- π Multi-Language Support: Python, TypeScript/JavaScript, and Go implementations
- π High Performance: Optimized for speed and reliability
- π‘οΈ Robust Error Handling: Comprehensive error messages and status code handling
- π¦ Easy Integration: Simple API with minimal dependencies
- π§ Cross-Platform: Works on Windows, macOS, and Linux
- π Well Documented: Clear examples and comprehensive documentation
pip install requestsfrom src.python.main import solve_vv_captcha
try:
token = solve_vv_captcha("https://example.com/protected-page")
print(f"VVCaptcha token: {token}")
except Exception as e:
print(f"Error: {e}")npm install axiosimport { solveVVCaptcha } from "./src/typescript/index";
async function main() {
try {
const token = await solveVVCaptcha("https://example.com/protected-page");
console.log(`VV Captcha token: ${token}`);
} catch (error) {
console.error(error);
}
}package main
import (
"fmt"
"log"
"your-module/src/golang"
)
func main() {
token, err := captcha.SolveVVCaptcha("https://example.com/protected-page")
if err != nil {
log.Fatalf("Error: %v", err)
}
fmt.Printf("VVCaptcha token: %s\n", token)
}solve_vv_captcha(url: str) -> strParameters:
url(str): The target URL containing the VV-Captcha
Returns:
str: The captcha token
Raises:
Exception: Various exceptions for different error conditions
solveVVCaptcha(url: string): Promise<string>Parameters:
url(string): The target URL containing the VV-Captcha
Returns:
Promise<string>: A promise that resolves to the captcha token
Throws:
Error: Various errors for different failure conditions
func SolveVVCaptcha(targetURL string) (string, error)Parameters:
targetURL(string): The target URL containing the VV-Captcha
Returns:
string: The captcha tokenerror: Error if the operation fails
- Python: 3.6+ with
requestslibrary - Node.js: 14+ with
axioslibrary - Go: 1.16+
-
Clone the repository:
git clone https://github.com/alexabrahall/VV-Captcha-Solver.git cd VV-Captcha-Solver -
Install dependencies:
For Python:
pip install requests
For TypeScript/JavaScript:
npm install
For Go:
go mod tidy
VV-Captcha-Solver/
βββ src/
β βββ python/
β β βββ __init__.py
β β βββ main.py # Python implementation
β βββ typescript/
β β βββ index.ts # TypeScript implementation
β βββ golang/
β βββ captcha.go # Go implementation
βββ examples/
β βββ example.py # Python usage example
β βββ example.ts # TypeScript usage example
β βββ example.go # Go usage example
βββ package.json # Node.js dependencies
βββ README.md # This file
The VV-Captcha-Solver works by:
- URL Parsing: Extracts the domain from the provided URL
- Request Generation: Creates a properly formatted HTTP request to the VV-Captcha endpoint
- Header Configuration: Sets appropriate User-Agent and Referer headers
- Response Processing: Handles various HTTP status codes and error conditions
- Token Extraction: Uses regex pattern matching to extract the captcha token
- Error Handling: Provides detailed error messages for troubleshooting
The library provides comprehensive error handling for various scenarios:
| Status Code | Error Type | Description |
|---|---|---|
| 403 | Domain Verification Failed | The domain is not VV-Captcha enabled |
| 500 | Captcha Verification Failed | Error in domain handling |
| 200 | Success | Token extracted successfully |
| Other | Unexpected Error | Check domain settings |
# Python
from src.python.main import solve_vv_captcha
token = solve_vv_captcha("https://uk-umg.com/um-forms/48709-1272284.html")
print(f"Token: {token}")// TypeScript
import { solveVVCaptcha } from "./src/typescript/index";
const token = await solveVVCaptcha(
"https://uk-umg.com/um-forms/48709-1272284.html"
);
console.log(`Token: ${token}`);// Go
import "your-module/src/golang"
token, err := captcha.SolveVVCaptcha("https://uk-umg.com/um-forms/48709-1272284.html")
if err != nil {
log.Fatal(err)
}
fmt.Printf("Token: %s\n", token)try:
token = solve_vv_captcha("https://invalid-domain.com")
except Exception as e:
print(f"Failed to solve captcha: {e}")This tool is for educational and research purposes only. Please ensure you comply with the terms of service of any websites you interact with and respect their rate limits and usage policies.