如何在不禁止 google 的情况下搜索关键字?
How to search keywords without banning from google?
我正在使用 Selenium 通过 Google 搜索获得一些结果。该计划在 Java 中实施。我搜索一些关键字,例如 allintitle:best smart pc
。所以当我多次使用这个关键字时 google 正在禁止我的 IP。所以我需要知道如何防止这个问题?如何在不封禁IP的情况下搜索关键字列表?有没有其他方法可以使用 Selenium
和 Java
来做到这一点?
不,如果你坚持 Google 会禁止你,你正在破坏他们的 Terms & Conditions,具体来说:
5.3 You agree not to access (or attempt to access) any of the Services by any means other than through the interface that is provided by
Google, unless you have been specifically allowed to do so in a
separate agreement with Google. You specifically agree not to access
(or attempt to access) any of the Services through any automated means
(including use of scripts or web crawlers) and shall ensure that you
comply with the instructions set out in any robots.txt file present on
the Services.
如果您只是想学习如何使用 Selenium,我建议您改用 The Internet(一组自动化学习资源)之类的东西。
我正在使用 Selenium 通过 Google 搜索获得一些结果。该计划在 Java 中实施。我搜索一些关键字,例如 allintitle:best smart pc
。所以当我多次使用这个关键字时 google 正在禁止我的 IP。所以我需要知道如何防止这个问题?如何在不封禁IP的情况下搜索关键字列表?有没有其他方法可以使用 Selenium
和 Java
来做到这一点?
不,如果你坚持 Google 会禁止你,你正在破坏他们的 Terms & Conditions,具体来说:
5.3 You agree not to access (or attempt to access) any of the Services by any means other than through the interface that is provided by Google, unless you have been specifically allowed to do so in a separate agreement with Google. You specifically agree not to access (or attempt to access) any of the Services through any automated means (including use of scripts or web crawlers) and shall ensure that you comply with the instructions set out in any robots.txt file present on the Services.
如果您只是想学习如何使用 Selenium,我建议您改用 The Internet(一组自动化学习资源)之类的东西。