TitanScraper V2
The Ultimate Anti-Bot Scraper for Python.
TitanScraper is a high-performance scraping library designed to bypass the toughest anti-bot protections (Cloudflare, Akamai, Datadome, etc.). It uses a tiered approach, starting with lightweight requests and escalating to full browser automation with AI solvers only when necessary.
Features
- Tier 1: Intelligent Requests: Handles headers, TLS fingerprinting (simulated), and simple redirects.
- Tier 2: JSD Solver: Native Go-based solver for Cloudflare JavaScript challenges.
- Tier 3: Browser Fallback: Auto-launches a stealth Playwright browser for 403/503 bypass (G2, CoinList, etc.).
- Tier 4: Captcha Solving:
- Cloudflare Turnstile: Auto-detects and human-clicks or uses external solvers.
- reCAPTCHA v2/v3: Native audio solving + Support for 2Captcha, CapMonster, Anti-Captcha.
- AI Custom Model: PyTorch-based CNN for text captchas.
- Deep Fingerprint Spoofing: Injects noise into Canvas, WebGL, and AudioContext to defeat device tracking.
- Session Persistence: Save/Load cookies to build "Trust Scores" across sessions.
- Smart Auto-Detection: Automatically identifies protection (Cloudflare, Akamai, AWS WAF) and selects the best bypass strategy (TLS Rotation, Browser, etc.).
- Proxies & Stealth: Built-in support for rotating proxies and fingerprint randomization (User-Agent, Viewport, Locale).
Installation
# 1. Install Python packages
pip install TitanScraper-Pro
# 2. Install Playwright Browsers
playwright install chromium
# 3. Setup JSD Solver (Go required)
python setup_jsd.py
# 4. System Requirements
# Install ffmpeg for Audio Captcha solving
Usage
1. One-Click Bypass (Recommended)
Automatically handles challenges, captchas, and fallbacks.
from titan import TitanScraper
# Optional: Add Proxies
proxies = {
"http": "http://user:pass@host:port",
"https": "http://user:pass@host:port"
}
scraper = TitanScraper(proxies=proxies)
# Just provide the URL
response = scraper.bypass("https://nowsecure.nl")
print(response.status_code)
print(response.content)
2. Advanced / Manual Control
# Access specific modules
scraper.jsd_solver.solve(url)
cookies = scraper.browser_manager.get_cookies(url)
# Activate Disguise System (100% Consistency)
scraper.set_disguise("modern_mac") # or "modern_windows"
3. Disguise System (Consistency Engine)
For targets detecting "Mismatched Fingerprints" (Cloudflare V3/Enterprise):
# 1. Masquerade as a Mac user (Safari + MacIntel + Apple GPU)
scraper.set_disguise("modern_mac")
# 2. Masquerade as a Windows user (Chrome + Win32 + NVIDIA)
scraper.set_disguise("modern_windows")
# Now all requests will perfectly match this identity.
scraper.bypass("https://strict-site.com")
Why use this? High-end antibots check if your User-Agent matches your TLS Fingerprint and your GPU Renderer.
- If you just change User-Agent to "iPhone" but use Python TLS, you get banned.
- The Disguise System syncs everything to match the chosen profile.
Available Profiles & Parameters
| Parameter | modern_windows |
modern_mac |
|---|---|---|
| User-Agent | Chrome 120 (Win) | Safari 15.3 (Mac) |
| TLS Handshake | chrome120 |
safari15_3 |
| Navigator Platform | Win32 |
MacIntel |
| WebGL Vendor | Google Inc. (NVIDIA) |
Apple Inc. |
| WebGL Renderer | NVIDIA GeForce RTX 3060... |
Apple GPU |
| Hardware Core Count | 16 | 8 |
| Device Memory (GB) | 8 | 8 |
| Default Viewport | 1920x1080 | 1440x900 |
4. External Captcha Providers
Use professional services for 100% reliability on hard targets.
captcha_config = {
"provider": "2captcha", # '2captcha', 'capmonster', 'anticaptcha'
"api_key": "YOUR_API_KEY"
}
scraper = TitanScraper(captcha_config=captcha_config)
scraper.bypass("https://protected-site.com")
5. Training the AI Captcha Solver
- Collect Data:
scraper.browser_manager.save_element_screenshot(url, "#captcha-img", "data/label.png")
- Train:
python train_captcha.py --mode train --data_dir ./data --epochs 20
- Predict:
python train_captcha.py --mode predict --image ./test.png
Roadmap & Suggestions
To defeat even more advanced systems:
- Residential Proxy Rotation: Integrate with providers (BrightData, Smartproxy) to rotate IPs per request.
- Machine Learning Behavior: Train a model on real user mouse movements instead of just Bezier curves.
Metadata
Release files for TitanScraper-Pro 2.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| titanscraper_pro-2.1.0.tar.gz | 26.8 kB | Without provenance | Details for titanscraper_pro-2.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| titanscraper_pro-2.1.0-py3-none-any.whl | Python 3 | none | any | Details for titanscraper_pro-2.1.0-py3-none-any.whl |
Total release size: 57.7 kB
Release files / titanscraper_pro-2.1.0.tar.gz
| Download URL | titanscraper_pro-2.1.0.tar.gz |
|---|---|
| Size | 26.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3ce103dd3a036d471fc086ee4d11a1eafe75541b05460dbdad653070b249a89f
|
|
BLAKE2b-256 checksum How to use checksums |
039330b4424ec200b8c68fe69ef6fe857b1700f09403de114338c03ded38f8f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Release files / titanscraper_pro-2.1.0-py3-none-any.whl
| Download URL | titanscraper_pro-2.1.0-py3-none-any.whl |
|---|---|
| Size | 30.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dcf1e52f51eab77ea07f8b7c8caa3e65cf85ff2b311be1983ecbf92576a27fef
|
|
BLAKE2b-256 checksum How to use checksums |
f2cecf49f0ebcc252363069539b8f08c20e95c0fa82bf83991214357c3ec3da9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Security for TitanScraper-Pro 2.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.