The group object

The group object contains information about each default rule set in the robots object for the robots.txt file. It has the following attributes:

group.rules

Returns of a list of rule objects for each rule in the group.

group.sitemap

Returns the group's sitemap object. If the group doesn't require a sitemap, then this returns blank.

The sitemap can be accessed at /sitemap.xml.

group.user_agent

Returns the group's user_agent object.