module

LikeeScraper::Connection

Constants

CONNECT_TIMEOUT = 5.seconds
HTTPS = "https"
READ_TIMEOUT = 1.minute

Class methods

call(url : String, referer : String, &) : Nil

Executes a GET request and yields the response. If the response is not successful, raises LikeeScraper::HTTPError.

Source