This function creates a lihkg scraper

create_lihkg(..., verbose = FALSE)

Arguments

...

parameters to be passed to RSelenium::rsDriver(). For example, you can use create_lihkg(browser = "firefox", port = sample(10000:60000, 1)) to generate a Selenium instance of Firefox.

verbose

logical, whether debug information is printed out.

Value

a lihkg scraper

Examples

if (FALSE) { lihkg <- create_lihkg(browser = "firefox", port = sample(10000:60000, 1)) }