spy

package
Version: v0.0.0-...-632f8f1 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2019 License: MIT Imports: 6 Imported by: 0

README

spy-pic

golang实现的并发图片爬虫器

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetImagesList

func GetImagesList(html string, compileString string) []string

根据传入compileString,解析出目标图片集url

func GetToWork

func GetToWork(url string, compileString string)

开始工作

func ImgHandler

func ImgHandler(num int, ch chan int, url string) (error error)

处理图片地址并保存在本地

func Spy

func Spy(url string) (html string, err error)

获取目标地址的html代码

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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