lib

package
v0.1.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Index

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 FindOne added in v0.1.8

func FindOne(node *html.Node, xpath string) string

func Flat added in v0.1.5

func Flat(data map[string][]interface{}) (ret []map[string]interface{})

func HttpCookies added in v0.1.9

func HttpCookies(rawCookies string) []*http.Cookie

func JsClickNode added in v0.1.5

func JsClickNode(node *cdp.Node) chromedp.Action
func Navigate(link string) chromedp.Action

func ParseXpathAttr added in v0.1.8

func ParseXpathAttr(xpath string) string

func RandDuration

func RandDuration(min, max time.Duration) time.Duration

func XpathAttr added in v0.1.8

func XpathAttr(xpath string) (flag bool, attr string)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL