Categorygithub.com/orangbus/spider
repositorypackage
1.0.4
Repository: https://github.com/orangbus/spider.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# README

视频采集

快速入门

安装

go get -u github.com/orangbus/spider@latest

注册 打开 config/app.go

import "github.com/orangbus/spider"
"providers": []foundation.ServiceProvider{
	...
    &spider.ServiceProvider{},
},

使用

import "github.com/orangbus/spider/facades"
func (r *WebSpider) Ping(ctx http.Context) http.Response {
    status := facades.Spider().BaseUrl("https://xxx.com").Ping()
    return resp.Data(ctx, status)
}