Speculation on how sub-googlebots work, based on public documentation#2
Open
willcritchlow wants to merge 7 commits intomasterfrom
Open
Speculation on how sub-googlebots work, based on public documentation#2willcritchlow wants to merge 7 commits intomasterfrom
willcritchlow wants to merge 7 commits intomasterfrom
Conversation
First should be the specific user agent, and second should be the general user agent whose ruleset the crawler should obey iif there are no specific rules targeting the first user agent
Expose tuple functionality in the interface to robots and call from the wrapper if two user agents passed in the string comma-separated. Add test cases.
and documentation
One of the ways listed in the open source project for compiling and testing the project is using bazel - which creates directories that should be ignored by git as we never want to check them in
Ignore bazel build directories
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
If we pass in a comma-separated list of two user agents (more specific first, e.g.
googlebot-image,googlebot) then run newly-exposed method that returns a response based on whether the first user agent is allowed / disallowed by a specific rule, and if not, falls back to a regular check on the second user agent.