TgSpider

package
v0.0.0-...-63504fc Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TgMsg

type TgMsg struct {
	User  string // 用户名
	Msg   string // 消息内容
	MsgId int    // 消息ID序号
}

type TgSpider

type TgSpider struct {
	Name string // 频道名称,用于拼接频道链接 https://t.me/s/{Name}
	// contains filtered or unexported fields
}

func (*TgSpider) GetUrl

func (t *TgSpider) GetUrl() string

获取爬虫访问链接

func (*TgSpider) Start

func (t *TgSpider) Start()

func (*TgSpider) Stop

func (t *TgSpider) Stop()

Jump to

Keyboard shortcuts

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