Snippet
Nosible API Client / Snippet
Interface: Snippet
Defined in: src/scrape/types.ts:42
A snippet of text, typically extracted from a web page
Extends
output<typeofsnippetSchema>
Properties
url_hash
url_hash:
string
Defined in: src/scrape/types.ts:46
Hash of the URL from which the snippet was extracted
Overrides
z.infer.url_hash
snippet_hash
snippet_hash:
string
Defined in: src/scrape/types.ts:50
A unique hash for the snippet
Overrides
z.infer.snippet_hash
prev_snippet_hash
prev_snippet_hash:
string|null
Defined in: src/scrape/types.ts:54
Hash of the previous snippet in sequence
Overrides
z.infer.prev_snippet_hash
next_snippet_hash
next_snippet_hash:
string|null
Defined in: src/scrape/types.ts:58
Hash of the next snippet in sequence
Overrides
z.infer.next_snippet_hash
content
content:
string
Defined in: src/scrape/types.ts:62
The text content of the snippet
Overrides
z.infer.content
words?
optionalwords:string
Defined in: src/scrape/types.ts:66
The words in the snippet
Overrides
z.infer.words
language
language:
string
Defined in: src/scrape/types.ts:70
The language of the snippet
Overrides
z.infer.language
statistics?
optionalstatistics:object
Defined in: src/scrape/types.ts:74
Statistical information about the snippet
sentences
sentences:
number
words
words:
number
characters
characters:
number
links?
optionallinks:number