Skip to main content

extract-source

ai-research-agent / extractor/html-to-cite/extract-source

Functions

extractSource()

function extractSource(document): object

Extract source from document using common class names

Parameters

ParameterTypeDescription

document

Document

document or dom object with article content

Returns

object

source