Cloudflare Worker that fetches a HubSpot Community thread URL with Puppeteer (Browser Rendering) and returns its raw HTML.
GET with query param:
https://hubspot-thread-fetcher.cart2cart.workers.dev?url=https://community.hubspot.com/t5/Reporting-Analytics/Forms-submissions-result-as-offline-sources/m-p/1248462#M8224
POST with JSON body:
{ "url": "https://community.hubspot.com/t5/.../m-p/123456#M789" }- Only
community.hubspot.comURLs are allowed (403 otherwise). - Response: raw HTML (
text/html) or JSON error with status 400/403/500.
npm install
npm run devFor a real headless browser locally, add to wrangler.toml under [browser]:
remote = truenpm run deployRequires Cloudflare account and Browser Rendering enabled.