CURL as GoogleBot 2.1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl --user-agent "Googlebot/2.1 (+http://www.google.com/bot.html)" -v $@ | |
This is using desktop and Google is moving toward mobile first. May want to update this. Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/W.X.Y.Z‡ Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
https://developers.google.com/search/docs/advanced/crawling/overview-google-crawlers?visit_id=637432331662125416-1181969658&rd=1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nice! Thanks