Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法在 go 中使用 colly “单击”按钮?我基本上需要从动态网站上抓取数据,例如“打开下拉菜单”,点击不同的选项,以便网站的其他部分更新。这可以使用 Python / Selenium 轻松完成,但我想测试 colly。谢谢你的帮助!
go-colly 是一个网络爬虫库,但您想将其用作自动化测试工具。我确实在 go-colly 代码库中看到了 POST 请求处理,但听起来您正在尝试使用扳手来钉钉子。为什么不直接使用锤子并使用硒呢?我在 Google 时看到了 golang selenium 包的搜索结果。