parser_wrapper: Handles extracting links and applying supplied parse...

View source: R/helpers.R

parser_wrapperR Documentation

Handles extracting links and applying supplied parse function.

Description

Extracts the links and passes the html doc to the given parser function.

Usage

parser_wrapper(
  res = NULL,
  parser = crawlR::parse_content,
  readability,
  readability_content = F
)

Arguments

res

Return value from curl.

parser

Supplied parser function.

readability

not used

readability_content

not used


barob1n/crawlR documentation built on May 23, 2023, 10:53 a.m.