The browser's user-agent string and its cookies have to go on a request together: Cloudflare ties the clearance cookie to the user agent that earned it, and the cookie alone is answered with the check again.
Arguments
- clearance
A clearance from
clearance(), orNULLfor a plain handle.- ...
Further options for
curl::new_handle().
Value
A curl handle with followlocation set, and the clearance's
useragent and cookie when one was given.
Examples
h <- clearance_handle(list(useragent = "Mozilla/5.0", cookie = "cf_clearance=x"))
