[Pholcus] Go项目 Pholcus 源码逻辑分析 species.go

「代码结构」 结构体:蜘蛛种类列表(即:蜘蛛规则列表) 变量:全局蜘蛛种类实例 方法:向蜘蛛种类清单添加新种类 方法:获取全部蜘蛛种类 方法:通过名字获取蜘蛛 「总体功能」 添加新种类:通过 Spider.name 作为键,Spider 作为值,添加到 SpiderSpecies.hash 中。 获

posted on 2021-12-16 19:43  ercom  阅读(77)  评论(0编辑  收藏  举报