Skip to content
YosoiDocs

DiscoverySource

yosoi.map.DiscoverySource

class DiscoverySource(_MapOrderable):

Provenance category for a retained hostname or page.

Attributes: kind: seed is caller input; html_link and xml_link are acquired links; sitemap and robots are support sources; redirect is observed HTTP routing; passive_provider and passive_certificate are historical evidence. value: Index provider for passive_provider, otherwise None.

Source: python/yosoi/map.py:231

Members below are declared on this class. Inherited Pydantic methods and generated constructor signatures are not expanded.

kind: Literal['seed', 'html_link', 'xml_link', 'passive_provider', 'sitemap', 'robots', 'redirect', 'passive_certificate']
value: PublicProvider | None = None
@property
def is_passive(self) -> bool:

Return whether provenance is passive index or certificate evidence.

Source: python/yosoi/map.py:256