Add optional HTML response for IUAM
All checks were successful
CI / release (push) Successful in 2m44s
All checks were successful
CI / release (push) Successful in 2m44s
This commit is contained in:
@@ -76,7 +76,8 @@ Bypass Cloudflare protection and get cookies/tokens.
|
||||
{
|
||||
"mode": "iuam",
|
||||
"domain": "https://olamovies.watch/generate",
|
||||
"user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
|
||||
"user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36",
|
||||
"include_html": true
|
||||
}
|
||||
```
|
||||
|
||||
@@ -84,6 +85,7 @@ Bypass Cloudflare protection and get cookies/tokens.
|
||||
- **`mode`** (required): `"iuam"` or `"turnstile"`
|
||||
- **`domain`** (required): Target website URL
|
||||
- **`user_agent`** (optional): User-Agent to use for the browser session
|
||||
- **`include_html`** (optional): `true` to include the final page HTML in IUAM responses
|
||||
- **`proxy`** (optional): Proxy configuration object
|
||||
|
||||
#### Response (Success)
|
||||
@@ -91,7 +93,8 @@ Bypass Cloudflare protection and get cookies/tokens.
|
||||
{
|
||||
"cf_clearance": "eNm9UOgqoNDTP.fmAK9JfvirEmLVpmd.ZWIfdqQxuTc-1758610092-1.2-2NwZwW6nK23HrAH71MtvOek9vCiiS7pUBGIPtra_gSBxYxY2csa6hW0j7i...",
|
||||
"user_agent": "Mozilla/5.0...",
|
||||
"elapsed_time": 3.05
|
||||
"elapsed_time": 3.05,
|
||||
"html": "<!DOCTYPE html><html>...</html>"
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user