impl

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IMDBPrefix       = "https://imdb.com"
	Source           = "IMDB"
	UniqueIn         = 60 * 60 * 24 // seconds , 防止重复入队
	ProcessdInterval = 10           // seconds , 处理间隔,避免IP被封
)

Variables

This section is empty.

Functions

func RunCrawlClient

func RunCrawlClient(ctx context.Context, broker gmq.Broker)

func RunCrawlServer

func RunCrawlServer(ctx context.Context, broker gmq.Broker)

Types

type ErrCrawlIMDB

type ErrCrawlIMDB struct {
	TopIdx string
	Op     string
	Detail string
}

func (*ErrCrawlIMDB) Error

func (e *ErrCrawlIMDB) Error() string

Jump to

Keyboard shortcuts

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