web_parser {postlightmercury}R Documentation

Parses web pages

Description

With just one API request, Mercury takes any web article and returns only the relevant content — headline, author, body text, relevant images and more — free from any clutter. It’s reliable, easy-to-use and free.

Usage

web_parser(page_urls, api_key)

Arguments

page_urls

One or more urls to be parsed

api_key

Key for the API

Value

a tibble

Source

https://mercury.postlight.com/web-parser/

Examples

## Not run: 
# First get api key here: https://mercury.postlight.com/web-parser/

# Then run the code below replacing the X's wih your api key:
web_parser(page_urls = "https://trackchanges.postlight.com/building-awesome-cms-f034344d8ed",
           api_key = XXXXXXXXXXXXXXXXXXXXXXX)

## End(Not run)

[Package postlightmercury version 1.2 Index]