web2vec.extractors.external_api.google_index_features module

class web2vec.extractors.external_api.google_index_features.GoogleIndexFeatures(is_indexed: bool | None, position: int | None = None)[source]

Bases: object

Dataclass for Google index features.

is_indexed: bool | None
position: int | None = None
web2vec.extractors.external_api.google_index_features.get_google_index_features(url: str) GoogleIndexFeatures[source]

Check if the given URL is indexed by Brave Search and return its position.

web2vec.extractors.external_api.google_index_features.get_google_index_features_cached(url: str) GoogleIndexFeatures[source]

Get the Brave index features for the given URL.