@just-every/mcp-read-website-fast
Version:
Markdown Content Preprocessor - Fetch web pages, extract content, convert to clean Markdown
11 lines (10 loc) • 324 B
TypeScript
export interface SecureFetchHtmlOptions {
userAgent?: string;
timeout?: number;
maxRedirections?: number;
cookieHeaderForUrl?: (url: string) => string | undefined;
}
export declare function secureFetchHtml(url: string, options?: SecureFetchHtmlOptions): Promise<{
html: string;
finalUrl: string;
}>;