Skip to content

robots.sitemaps is a map object instead of a list #109

@gk1544

Description

@gk1544

type(robots.sitemaps) is <class 'map'> instead of list (as described in README).

Why is that so?

import reppy

url = 'http://www.google.com/'
robots_url = reppy.Robots.robots_url(url)
robots = reppy.Robots.fetch(robots_url)
sitemaps = robots.sitemaps
print(type(sitemaps))
# <class 'map'>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions