Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var API_KEY = "f26e62fe199a53b7746d712da5c2a5fde4320703"
View Source
var COUNTRY = "" // Check zenrows if you need another country .. otherise select 'us' ..or leave blank!
View Source
var DEFAULT_USER_AGENT = "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
MULTI-PURPOSE SCREEN SCRAPE TOOL Params: URL, UserAgent Returns: bool, GOQUERY_DOC, Text of Response
View Source
var RESP_ERROR_MATRIX = []string{
"Could not get content",
"returned a 404",
"The concurrency limit was reached",
}
View Source
var S_RETRY_MAX = 10
View Source
var S_RETRY_SLEEP = 15
View Source
var TIMEOUT = 120 //60
Functions ¶
func PROXY_SCRAPE ¶
This scrapes by way of using a proxy (Zenrows)... you need an account..
func SCRAPE_TOOL ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.