nightmarejs 会被检测为机器人吗?

Can nightmarejs get detected as a bot?

我刚刚遇到 nightmarejs,在此之前我在 c# 中使用 cefsharp,这很好,但我的 c# 知识很低,所以我一直在寻找一个自动化 chromium 的 nodejs 框架。
我在 Whosebug 和 google 上进行了搜索,但没有找到明确的答案
解释我的机器人会做:

我将使用本地存储,不需要代理支持,所以我不必担心 webrtc 等问题
机器人需要不泄漏诸如硒或类似库的东西。

如果噩梦不是解决问题的工具,你能给我推荐其他东西吗?

谢谢

梦魇使用Electron under the hood, which in turn uses Chromium. So it's Chromium that your website will detect when inspecting User-Agent:

Mozilla/5.0 (X11; Linux armv7l) AppleWebKit/537.42 (KHTML, like Gecko) Chromium/25.0.1349.2 Chrome/25.0.1349.2 Safari/537.42

你也可以manually set user agent在噩梦中:

.useragent(useragent)

所以我会说不,典型的网站无法使用基本检查来检测 Nightmare。然而,一些 apps/website 使用行为分析来检测 bots/scripts,因此您将无法幸免。