Ai
1 Star 1 Fork 0

灵狐/go-web-crawler

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
API.go 537 Bytes
一键复制 编辑 原始数据 按行查看 历史
灵狐 提交于 2025-05-10 20:30 +08:00 . 提交代码
package WebCrawler
// IFindElement 它可以被WebSite的FindTextEls函数调用
type IFindElement interface {
// Find 查找方法:从els中找到符合要求的元素
// 说明:它通常会将找到的el并处理Text字段后放到自己内部的List,同时也会将找到的el按原始数据返回给外部
Find(els []*WebElement) []*WebElement
// GetList 取出内部的List
// 说明:它是执行Find会后得到了一个内部加工过的List,然后可以通过该函数获得这个List
GetList() []*WebElement
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/fierce_wolf/go-web-crawler.git
git@gitee.com:fierce_wolf/go-web-crawler.git
fierce_wolf
go-web-crawler
go-web-crawler
v1.0.1

搜索帮助