# FlareSolverr HTML Wrapper Pattern When using FlareSolverr to bypass Cloudflare on Discourse forums (linux.do, etc.), the API response JSON is wrapped in HTML `
` tags:
```
FlareSolverr response:
{
"status": "ok",
"solution": {
"response": "...{...actual JSON...}"
}
}
```
**Fix**: Extract JSON from `` before parsing:
```python
resp = data["solution"]["response"]
if "" in resp and "
" in resp:
resp = resp.split("")[1].split("")[0]
data = json.loads(resp) # Now works
```
**Working FlareSolverr endpoints** (on DO server [REDACTED-IP]):
- `http://localhost:8191/v1` — FlareSolverr API
- POST with `{"cmd": "request.get", "url": "...", "maxTimeout": 30000}`
**Known targets**:
| Site | CF? | FlareSolverr? |
|------|-----|---------------|
| linux.do | Yes | ✅ Works |
| nodeloc.com | No | Not needed |
| Reddit | Yes | ❌ Blocked |
| dc.hhhl.cc | No | Not needed |