urlscan_result: Retrieve detailed results for a given scan ID

Description Usage Arguments Value Examples

Description

Retrieve detailed results for a given scan ID

Usage

1
urlscan_result(scan_id, include_dom = FALSE, include_shot = FALSE)

Arguments

scan_id

scan id (UUID)

include_dom

(logical) include the website DOM? (default: FALSE)

include_shot

(logical) include the website screen shot? (default: FALSE)

Value

list with scan_result task, page, content lists, fetch data, connection metadata and computed stats.

The list can also include dom if include_dom is TRUE. If so, dom will be an httr response object since the data could be binary. Use httr tools to process it.

The list can also include screenshot if include_shot is TRUE and a screenshot was available.

Examples

1
2
x <- urlscan_search("domain:r-project.org")
r <- urlscan_result(x$results[["_id"]][1])

hrbrmstr/urlscan documentation built on May 15, 2019, 3:30 p.m.