我正在使用 bash 在网站中搜索术语并收到以下消息(而不是网站):
Please verify you are a human
Access to this page has been denied because we believe you are using automation tools to browse the website.
This may happen as a result of the following:
Javascript is disabled or blocked by an extension (ad blockers for example)
Your browser does not support cookies
Please make sure that Javascript and cookies are enabled on your browser and that you are not blocking them from loading.
Reference ID: #1cdaf6b0-b84f-11e9-bb3c-6337d1b9880d
例如:
curl -s https://www.couchsurfing.com/users/1000525404 | grep Gracias
我该怎么做才能避免这种情况?我想使用命令行,因为我可以自动执行一些操作?
或者是否有其他开源项目允许我们从命令行浏览此类网站?
消息指出Please make sure that Javascript and cookies are enabled on your browser and that you are not blocking them from loading.
是否可以通过命令行执行此操作?