Skip to content
1 min read · 247 words

Interface: ScrapperArticle

Defined in: batteries/tools/scrapper/index.ts:199

A normalised Scrapper article (loose/nullable upstream).

Properties

PropertyTypeDescriptionDefined in
byline?stringAuthor / byline metadata.batteries/tools/scrapper/index.ts:205
content?stringProcessed article HTML; present when the caller requested it.batteries/tools/scrapper/index.ts:221
date?stringScrapper's own date field for the result.batteries/tools/scrapper/index.ts:217
excerpt?stringShort excerpt or description of the article.batteries/tools/scrapper/index.ts:207
fullContent?stringFull page HTML; present only when full_content was set.batteries/tools/scrapper/index.ts:223
lang?stringDetected content language.batteries/tools/scrapper/index.ts:211
length?numberCharacter count of the extracted article text.batteries/tools/scrapper/index.ts:213
publishedTime?stringPublication time, when the page exposed one.batteries/tools/scrapper/index.ts:215
screenshotUri?stringScreenshot URI; present only when screenshot was set.batteries/tools/scrapper/index.ts:225
siteName?stringName of the site the article came from.batteries/tools/scrapper/index.ts:209
textContent?stringArticle text with HTML stripped.batteries/tools/scrapper/index.ts:219
title?stringArticle title.batteries/tools/scrapper/index.ts:203
url?stringThe page URL the article was extracted from.batteries/tools/scrapper/index.ts:201