mirror of https://git.sr.ht/~hrbrmstr/splashr
boB Rudis
7 years ago
14 changed files with 168 additions and 46 deletions
@ -1,44 +1,46 @@ |
|||||
Package: splashr |
Package: splashr |
||||
Type: Package |
Type: Package |
||||
Title: Tools to Work with the 'Splash' JavaScript Rendering Service |
Title: Tools to Work with the 'Splash' 'JavaScript' Rendering Service |
||||
Version: 0.3.0 |
Version: 0.3.0 |
||||
Date: 2017-02-14 |
Date: 2017-02-14 |
||||
Encoding: UTF-8 |
Encoding: UTF-8 |
||||
Author: Bob Rudis (bob@rud.is) |
Author: Bob Rudis (bob@rud.is) |
||||
Maintainer: Bob Rudis <bob@rud.is> |
Maintainer: Bob Rudis <bob@rud.is> |
||||
Description: 'Splash' <https://github.com/scrapinghub/splash> is a javascript rendering service. |
Description: 'Splash' <https://github.com/scrapinghub/splash> is a 'JavaScript' rendering service. |
||||
It’s a lightweight web browser with an 'HTTP' API, implemented in Python using 'Twisted' |
It’s a lightweight web browser with an 'HTTP' API, implemented in 'Python' using 'Twisted' |
||||
and 'QT' and provides some of the core functionality of the 'RSelenium' or 'seleniumPipes' |
and 'QT' and provides some of the core functionality of the 'RSelenium' or 'seleniumPipes' |
||||
R pacakges but with a Java-free footprint. The (twisted) 'QT' reactor is used to make the |
R pacakges but with a Java-free footprint. The (twisted) 'QT' reactor is used to make the |
||||
sever fully asynchronous allowing to take advantage of 'webkit' concurrency via QT main loop. |
sever fully asynchronous allowing to take advantage of 'webkit' concurrency via 'QT' main loop. |
||||
Some of Splash features include the ability to process multiple webpages in parallel; |
Some of 'Splash' features include the ability to process multiple webpages in parallel; |
||||
retrieving HTML results and/or take screenshots; disabling images or use Adblock Plus rules |
retrieving 'HTML' results and/or take screenshots; disabling images or use 'Adblock Plus' rules |
||||
to make rendering faster; executing custom JavaScript in page context; getting detailed |
to make rendering faster; executing custom 'JavaScript' in page context; getting detailed |
||||
rendering info in HAR format. |
rendering info in 'HAR' format. |
||||
URL: http://github.com/hrbrmstr/splashr |
URL: http://github.com/hrbrmstr/splashr |
||||
BugReports: https://github.com/hrbrmstr/splashr/issues |
BugReports: https://github.com/hrbrmstr/splashr/issues |
||||
License: AGPL |
License: AGPL |
||||
Suggests: |
Suggests: |
||||
testthat, |
testthat, |
||||
tibble |
tibble, |
||||
|
jpeg, |
||||
|
png |
||||
Depends: |
Depends: |
||||
R (>= 3.2.0) |
R (>= 3.2.0) |
||||
Imports: |
Imports: |
||||
purrr, |
|
||||
httr, |
|
||||
xml2, |
xml2, |
||||
jsonlite, |
curl, |
||||
magick, |
httr, |
||||
stringi, |
|
||||
clipr, |
clipr, |
||||
HARtools, |
purrr, |
||||
openssl, |
|
||||
lubridate, |
|
||||
formatR, |
|
||||
scales, |
|
||||
harbor, |
|
||||
stats, |
stats, |
||||
utils, |
utils, |
||||
curl |
harbor, |
||||
|
magick, |
||||
|
scales, |
||||
|
formatR, |
||||
|
openssl, |
||||
|
stringi, |
||||
|
jsonlite, |
||||
|
HARtools, |
||||
|
lubridate |
||||
RoxygenNote: 6.0.0 |
RoxygenNote: 6.0.0 |
||||
Remotes: wch/harbor |
Remotes: wch/harbor |
||||
|
@ -0,0 +1,18 @@ |
|||||
|
% Generated by roxygen2: do not edit by hand |
||||
|
% Please edit documentation in R/as_req.r |
||||
|
\name{as_httr_req} |
||||
|
\alias{as_httr_req} |
||||
|
\title{Create an httr verb request function from an HAR request} |
||||
|
\usage{ |
||||
|
as_httr_req(entry, quiet = TRUE, add_clip = TRUE) |
||||
|
} |
||||
|
\arguments{ |
||||
|
\item{entry}{HAR entry} |
||||
|
|
||||
|
\item{quiet}{quiet} |
||||
|
|
||||
|
\item{add_clip}{add clip} |
||||
|
} |
||||
|
\description{ |
||||
|
Create an httr verb request function from an HAR request |
||||
|
} |
@ -1,18 +0,0 @@ |
|||||
% Generated by roxygen2: do not edit by hand |
|
||||
% Please edit documentation in R/as_req.r |
|
||||
\name{as_req} |
|
||||
\alias{as_req} |
|
||||
\title{Create an httr function from an HAR request} |
|
||||
\usage{ |
|
||||
as_req(entry, quiet = TRUE, add_clip = TRUE) |
|
||||
} |
|
||||
\arguments{ |
|
||||
\item{entry}{HAR entry} |
|
||||
|
|
||||
\item{quiet}{quiet} |
|
||||
|
|
||||
\item{add_clip}{add clip} |
|
||||
} |
|
||||
\description{ |
|
||||
Create an httr function from an HAR request |
|
||||
} |
|
@ -0,0 +1,16 @@ |
|||||
|
% Generated by roxygen2: do not edit by hand |
||||
|
% Please edit documentation in R/helpers.r |
||||
|
\name{get_har_entry} |
||||
|
\alias{get_har_entry} |
||||
|
\title{Retrieve an entry by index from a HAR object} |
||||
|
\usage{ |
||||
|
get_har_entry(x, i = 1) |
||||
|
} |
||||
|
\arguments{ |
||||
|
\item{x}{can be a `har` object, `harlog` object or `harentries` object} |
||||
|
|
||||
|
\item{i}{index of the HAR entry to retrieve} |
||||
|
} |
||||
|
\description{ |
||||
|
Retrieve an entry by index from a HAR object |
||||
|
} |
@ -0,0 +1,14 @@ |
|||||
|
% Generated by roxygen2: do not edit by hand |
||||
|
% Please edit documentation in R/helpers.r |
||||
|
\name{har_entries} |
||||
|
\alias{har_entries} |
||||
|
\title{Retrieve just the HAR entries from a splashr request} |
||||
|
\usage{ |
||||
|
har_entries(x) |
||||
|
} |
||||
|
\arguments{ |
||||
|
\item{x}{can be a `har` object, `harlog` object or `harentries` object} |
||||
|
} |
||||
|
\description{ |
||||
|
Retrieve just the HAR entries from a splashr request |
||||
|
} |
@ -0,0 +1,14 @@ |
|||||
|
% Generated by roxygen2: do not edit by hand |
||||
|
% Please edit documentation in R/helpers.r |
||||
|
\name{har_entry_count} |
||||
|
\alias{har_entry_count} |
||||
|
\title{Retrieves number of HAR entries in a response} |
||||
|
\usage{ |
||||
|
har_entry_count(x) |
||||
|
} |
||||
|
\arguments{ |
||||
|
\item{x}{can be a `har` object, `harlog` object or `harentries` object} |
||||
|
} |
||||
|
\description{ |
||||
|
Retrieves number of HAR entries in a response |
||||
|
} |
@ -0,0 +1,14 @@ |
|||||
|
% Generated by roxygen2: do not edit by hand |
||||
|
% Please edit documentation in R/dsl.r |
||||
|
\name{splash_har_reset} |
||||
|
\alias{splash_har_reset} |
||||
|
\title{Drops all internally stored HAR records.} |
||||
|
\usage{ |
||||
|
splash_har_reset(splash_obj, keys) |
||||
|
} |
||||
|
\arguments{ |
||||
|
\item{splash_obj}{splashr object} |
||||
|
} |
||||
|
\description{ |
||||
|
Drops all internally stored HAR records. |
||||
|
} |
Loading…
Reference in new issue