chrome

package
v0.0.0-...-6705ef6 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaxRetries = 3
)

Variables

View Source
var (
	Sleep            = 1 * time.Second
	SleepWaitCaptcha = 5 * time.Second
	Verbose          = false
	Timeout          = 15 * time.Second
)

Functions

func Fetch

func Fetch(nav string, headless bool) (string, error)

Types

type TwitterPost

type TwitterPost struct {
	ID        string
	Content   string
	Author    string
	Timestamp time.Time
}

func ExtractTwitterFeed

func ExtractTwitterFeed(html string) ([]TwitterPost, error)

func ExtractTwitterPost

func ExtractTwitterPost(html string) (TwitterPost, error)

Jump to

Keyboard shortcuts

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