Learn R Programming

decryptr (version 0.2.2)

download_captcha_: Download captcha from a URL

Description

Download captcha from a URL

Usage

download_captcha_(url, path, secure, ext, timeout)

Arguments

url

URL from which to download captcha or the name of a known source ("tjrs", "tjmg", "tjrj", "trt" or "rfb")

path

Folder where to save downloaded captcha

secure

Whether or not to use ssl_verifypeer = TRUE (see httr::GET())

ext

Default image extension if not able to extract it automatically

timeout

Timeout for captcha download (passed on to httr::timeout())