Description Usage Arguments Examples
Return a HAR entry response as an httr::response object
1 | as_response(har_entry)
|
har_entry |
a HAR object (should contain a response body to be most useful) |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ## Not run:
library(purrr)
URL <- "http://www.svs.cl/portal/principal/605/w3-propertyvalue-18554.html"
splash_local %>%
splash_response_body(TRUE) %>%
splash_user_agent(ua_macos_chrome) %>%
splash_go(URL) %>%
splash_wait(2) %>%
splash_har() -> har
keep(har$log$entries, is_xhr) %>%
map(as_request) %>%
map(httr::content, as="parsed")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.