bing_spider

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	URL     = "https://www.bing.com/search?q=%s&first=%d"
	URLCN   = "https://cn.bing.com/search?q=%s&first=%d"
	URLInit = "https://www.bing.com/"
	Source  = "bing-spider"
	Limit   = 100
)

Variables

This section is empty.

Functions

func Filter added in v1.0.2

func Filter(subdomains map[string]struct{}) []string

Filter 生成搜索过滤语句 使用搜索引擎支持的-site:语法过滤掉搜索页面较多的子域以发现新域

Types

type Agent

type Agent struct {
	// contains filtered or unexported fields
}

func (*Agent) Name

func (agent *Agent) Name() string

func (*Agent) Query

func (agent *Agent) Query(session *sources.Session, query *sources.Query) (chan sources.Result, error)

Jump to

Keyboard shortcuts

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