Interface: ScrapperArticle
Defined in: batteries/tools/scrapper/index.ts:199
A normalised Scrapper article (loose/nullable upstream).
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
byline? | string | Author / byline metadata. | batteries/tools/scrapper/index.ts:205 |
content? | string | Processed article HTML; present when the caller requested it. | batteries/tools/scrapper/index.ts:221 |
date? | string | Scrapper's own date field for the result. | batteries/tools/scrapper/index.ts:217 |
excerpt? | string | Short excerpt or description of the article. | batteries/tools/scrapper/index.ts:207 |
fullContent? | string | Full page HTML; present only when full_content was set. | batteries/tools/scrapper/index.ts:223 |
lang? | string | Detected content language. | batteries/tools/scrapper/index.ts:211 |
length? | number | Character count of the extracted article text. | batteries/tools/scrapper/index.ts:213 |
publishedTime? | string | Publication time, when the page exposed one. | batteries/tools/scrapper/index.ts:215 |
screenshotUri? | string | Screenshot URI; present only when screenshot was set. | batteries/tools/scrapper/index.ts:225 |
siteName? | string | Name of the site the article came from. | batteries/tools/scrapper/index.ts:209 |
textContent? | string | Article text with HTML stripped. | batteries/tools/scrapper/index.ts:219 |
title? | string | Article title. | batteries/tools/scrapper/index.ts:203 |
url? | string | The page URL the article was extracted from. | batteries/tools/scrapper/index.ts:201 |