Documentation ¶
Index ¶
- Constants
- func CookieAction(rawCookies, domain string, expire int) chromedp.ActionFunc
- func FindOne(node *html.Node, xpath string) string
- func Flat(data map[string][]interface{}) (ret []map[string]interface{})
- func HttpCookies(rawCookies string) []*http.Cookie
- func JsClickNode(node *cdp.Node) chromedp.Action
- func Navigate(link string) chromedp.Action
- func ParseXpathAttr(xpath string) string
- func RandDuration(min, max time.Duration) time.Duration
- func XpathAttr(xpath string) (flag bool, attr string)
Constants ¶
View Source
const Script = `` /* 996-byte string literal not displayed */
Script see: https://intoli.com/blog/not-possible-to-block-chrome-headless/
Variables ¶
This section is empty.
Functions ¶
func CookieAction ¶ added in v0.1.9
func CookieAction(rawCookies, domain string, expire int) chromedp.ActionFunc
func HttpCookies ¶ added in v0.1.9
func ParseXpathAttr ¶ added in v0.1.8
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.