Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HubSpot Thread Fetcher

Cloudflare Worker that fetches a HubSpot Community thread URL with Puppeteer (Browser Rendering) and returns its raw HTML.

Deployed

Usage

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.com URLs are allowed (403 otherwise).
  • Response: raw HTML (text/html) or JSON error with status 400/403/500.

Local dev

npm install
npm run dev

For a real headless browser locally, add to wrangler.toml under [browser]:

remote = true

Deploy

npm run deploy

Requires Cloudflare account and Browser Rendering enabled.

About

Cloudflare Worker: fetch HubSpot Community thread HTML via Puppeteer

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages