cf_GET: Cloudflare bypass version of httr::GET

Description Usage Arguments Value Note Examples

Description

If this ceases to work it likely means that Cloudflare changed the challenge code. Please file an issue so I can redo the workaround.

Usage

1
cf_GET(cf_url, cf_agent = NULL, ...)

Arguments

cf_url

the URL you want

cf_agent

user agent you want to use. if NULL a valid one is chosen at random

...

other params passed to all httr::GET calls (other headers, verbose, etc)

Value

httr::response object

Note

This function pick a user agent at random if one isn't passed in

Examples

1
2
res <- cf_GET("https://www.bitmarket.pl/graphs/BTCPLN/90m.json")
str(httr::content(res, as="parsed"))

hrbrmstr/cfhttr documentation built on May 13, 2019, 6:14 p.m.