UNPKG

defuddle

Version:

Extract article content and metadata from web pages.

14 lines (13 loc) 542 B
import { ConversationExtractor } from './_conversation'; import { ConversationMessage, ConversationMetadata, Footnote } from '../types/extractors'; export declare class ChatGPTExtractor extends ConversationExtractor { private articles; private footnotes; private footnoteCounter; constructor(document: Document, url: string); canExtract(): boolean; protected extractMessages(): ConversationMessage[]; protected getFootnotes(): Footnote[]; protected getMetadata(): ConversationMetadata; private getTitle; }