The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
The goal of postlightmercury is to wrap the postlight mercury web parser API for R. 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.
You can install postlightmercury from github with:
# install.packages("devtools")
::install_github("56north/postlightmercury") devtools
This is a basic example which shows you how to solve a common problem:
## basic example code
# First get api key here: https://mercury.postlight.com/web-parser/
# Then run the code below replacing the X's wih your api key.
library(postlightmercury)
<- web_parser(
df page_urls = "https://trackchanges.postlight.com/building-awesome-cms-f034344d8ed",
api_key = XXXXXXXXXXXXXXXXXXXXXXX)
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.