dot-realgm_html: Internal: fetch a RealGM page through headless Chrome (clears...

.realgm_htmlR Documentation

Internal: fetch a RealGM page through headless Chrome (clears Cloudflare)

Description

Navigates headless Chrome to the page, waits for the Cloudflare challenge to resolve (the page title stops being "Just a moment..."), and returns the fully rendered HTML for rvest parsing.

Usage

.realgm_html(path, wait = 25)

Arguments

path

Page path beginning with / (e.g. "/nba/players").

wait

Maximum seconds to wait for the challenge to clear.

Value

The rendered page HTML as a character string.


hoopR documentation built on Aug. 25, 2026, 9:07 a.m.