Skip to content

WebSearchResult

Structure Class

WebSearchResult dataclass

Bases: _SerdeShape

A web search result.

Attributes

published_at class-attribute instance-attribute
published_at: datetime | None = ...

The time the page was published. This field is absent when the publication time is not known.

text instance-attribute
text: str

A text extract from the page.

title class-attribute instance-attribute
title: str | None = ...

The title of the page.

url class-attribute instance-attribute
url: str | None = ...

The URL of the page.