capabilities.work

Unblock Then Render

A 3-step recipe with Browserless. We can help you get access.

Recipe · 3 steps

Unblock Then Render

Unblock a protected URL, then render its content and PDF reusing the cleared cookies.

  1. Clear bot detection on the URL, returning the page cookies, HTML content, and a base64 full-page screenshot.
  2. Re-render the page HTML via /chrome/content, injecting the cookies recovered from the unblock step so the render reuses the cleared session.
  3. Generate a PDF of the same URL, reusing the recovered cookies so the PDF reflects the unblocked page.
What you'll need to have ready
  • token: The Browserless authorization token passed as a query parameter.
  • url: The URL of the protected site to unblock and render.
For your developer

Arazzo workflow browserless:unblock-then-render, 3 operations: {$sourceDescriptions.browserRestApisApi.url}#/paths/~1chrome~1unblock/post → {$sourceDescriptions.browserRestApisApi.url}#/paths/~1chrome~1content/post → {$sourceDescriptions.browserRestApisApi.url}#/paths/~1chrome~1pdf/post. Specs on APIs.io.