linger

package
v0.0.0-...-ab071f0 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Linger

type Linger struct {
	Version        string
	BioFilter      []string
	InternalFilter []string
}

func NewLinger

func NewLinger(bioFilter, internalFilter []string) *Linger

func (*Linger) GetFollowers

func (s *Linger) GetFollowers(pageHTML string, followersChannel chan<- int)

GetFollowers

func (*Linger) GetId

func (s *Linger) GetId(pageHTML string, idChannel chan<- int)

GetId

func (*Linger) GetRedirectUrl

func (s *Linger) GetRedirectUrl(pageHTML string, redirectUrlChannel chan<- string)

GetRedirectUrl

func (*Linger) GetSecUid

func (s *Linger) GetSecUid(pageHTML string, secUidChannel chan<- string)

GetSecUid

func (*Linger) MockScrapTikTok

func (s *Linger) MockScrapTikTok(tiktokUrl string) (bool, int, string, int)
func (s *Linger) ScrapBioLink(extractedBio string, client *http.Client) ([]string, []string, error)

func (*Linger) ScrapTikTok

func (s *Linger) ScrapTikTok(tiktokUrl string) (bool, int, string, int, string)

func (*Linger) ScrapTikTokProxy

func (s *Linger) ScrapTikTokProxy(tiktokUrl string, client *http.Client, pageHTMLChannel chan<- string)

func (*Linger) StartScrapping

func (s *Linger) StartScrapping(username string, pageHTML string) ([]string, []string, error)

main function to scrap bio and internal links

Jump to

Keyboard shortcuts

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