Add optional full cookie response
All checks were successful
CI / release (push) Successful in 1m38s

This commit is contained in:
estebanthi
2026-02-04 10:01:50 +01:00
parent 3c73bccb81
commit 24b0ddf666
3 changed files with 33 additions and 6 deletions

View File

@@ -77,7 +77,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",
"include_html": true
"include_html": true,
"include_cookies": true
}
```
@@ -86,6 +87,7 @@ Bypass Cloudflare protection and get cookies/tokens.
- **`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
- **`include_cookies`** (optional): `true` to include all cookies in IUAM responses
- **`proxy`** (optional): Proxy configuration object
#### Response (Success)
@@ -94,7 +96,10 @@ 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,
"html": "<!DOCTYPE html><html>...</html>"
"html": "<!DOCTYPE html><html>...</html>",
"cookies": [
{ "name": "cf_clearance", "value": "...", "domain": ".example.com" }
]
}
```