FunctionsExtractorHtml to cite
Extract Source
ai-research-agent / extractor/html-to-cite/extract-source
extractSource()
function extractSource(document: Document): any;Defined in: src/extractor/html-to-cite/extract-source.js:8
Extract source from document using common class names
Parameters
| Parameter | Type | Description |
|---|---|---|
|
| document or dom object with article content |
Returns
any
source