Google has up to date its open supply robots.txt parser code on GitHub the opposite day. Gary Illyes from Google pushed the replace yesterday morning to the repository there. Google initially launched the parser to the world again in 2019.
Gary Illyes defined on LinkedIn that this up to date parser has been being utilized by Google for some time now, however now Google has launched that replace to GitHub.
Gary wrote, “The discharge introduces new capabilities within the parser class that means that you can export parsing details about the handed in robotstxt physique, and provides a brand new library to entry that info. This new library has been utilized by Google Search Console for a lot of moons now (together with the Java port) and to date we have not encountered points with it; if you happen to do, file a difficulty on GitHub!”
When Google initially launched this parser, Google wrote they “open sourced the C++ library that our manufacturing methods use for parsing and matching guidelines in robots.txt information. This library has been round for 20 years and it comprises items of code that had been written within the 90’s. Since then, the library advanced; we realized quite a bit about how site owners write robots.txt information and nook instances that we needed to cowl for, and added what we realized through the years additionally to the web draft when it made sense.”
Discussion board dialogue at LinkedIn.