parse_content_fetched: General Parser

View source: R/helpers.R

parse_content_fetchedR Documentation

General Parser

Description

Extracts the title, headers, span, and p tags from a page.

Usage

parse_content_fetched(
  res,
  readability,
  readability_content = F,
  map_meta = NULL
)

Arguments

res

Return value from curl.

readability

readability reticulate object.

readability_content

T of F - if true use readability.

map_meta

meta data header mappings.

Value

Returns character vector of links, or error message.


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