HTMLUnit 和伪装
所以我的问题实际上很简单:
如果我放入 webclient.setCssEnables(false)
,那么它应该工作得更快,对吗?但谷歌会认为这是伪装吗? (如果您不知道什么是隐形,隐形就是向用户显示与您向 Google 机器人或任何其他机器人显示的不同内容)
So my question is actually quite simple:
If I put webclient.setCssEnables(false)
, then It should work faster, right? but will Google consider it as cloaking? (In case you dont know what cloaking is, cloaking is showing different things to users that you would show to the Google bot, or any other bot )
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
HtmlUnit 是一个网络浏览器。为什么 Google 会关心您在网络浏览器中启用或禁用 CSS?在 HtmlUnit 中启用 CSS 不会改变 Web 服务器所提供的服务。
HtmlUnit is a web browser. Why would Google care that you enable or disable CSS in your web browser? Enabling CSS in HtmlUnit doesn't change anything to what a web server serves.