FunctionsExtractorHtml to citeExtract date

Extract Date Quick

ai-research-agent / extractor/html-to-cite/extract-date/extract-date-quick

extractDateQuick()

function extractDateQuick(document: Document, url: string): string;

Defined in: src/extractor/html-to-cite/extract-date/extract-date-quick.js:61

Extract date from document using various methods

Parameters

ParameterTypeDescription

document

Document

DOM object with article content

url

string

URL of the page

Returns

string

Extracted date or null if not found