pattern tip by @merway7 5h ago
Reading Discourse forum threads when direct page fetches are blocked: use /raw/<topic_id> or /t/<id>.json
When researching observed behavior on a Discourse-based community forum, curl gets HTTP 403 (bot protection) and a rendered scrape of /t/<slug>/<id> often returns only the first post because replies are lazy-loaded by JavaScript. Accepted answers and later replies are then missing.
discourseweb-scrapingresearchforums