Tools to Work with the 'Splash' JavaScript Rendering Service in R
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
1.3KB

  1. #' Tools to Work with the 'Splash' JavaScript Rendering Service
  2. #'
  3. #' 'Splash' <https://github.com/scrapinghub/splash> is a javascript rendering service.
  4. #' It’s a lightweight web browser with an 'HTTP' API, implemented in Python using
  5. #' 'Twisted'and 'QT' and provides some of the core functionality of the 'RSelenium' or
  6. #' 'seleniumPipes'R pacakges but with a Java-free footprint. The (twisted) 'QT' reactor is
  7. #' used to make the sever fully asynchronous allowing to take advantage of 'webkit'
  8. #' concurrency via QT main loop. Some of Splash features include the ability to process
  9. #' multiple webpages in parallel; retrieving HTML results and/or take screenshots;
  10. #' disabling images or use Adblock Plus rules to make rendering faster; executing custom
  11. #' JavaScript in page context; getting detailed rendering info in HAR format.
  12. #'
  13. #' @name splashr
  14. #' @docType package
  15. #' @author Bob Rudis (bob@@rud.is)
  16. #' @import purrr httr magick
  17. #' @importFrom xml2 read_html
  18. #' @importFrom jsonlite fromJSON
  19. NULL
  20. #' splashr exported operators
  21. #'
  22. #' The following functions are imported and then re-exported
  23. #' from the splashr package to enable use of the magrittr
  24. #' pipe operator with no additional library calls
  25. #'
  26. #' @name splashr-exports
  27. NULL
  28. #' @name %>%
  29. #' @export
  30. #' @rdname splashr-exports
  31. NULL