/** * Reddit Site Handler * * Extracts content from Reddit using old.reddit.com HTML parsing. * The JSON API now requires authentication, so we use HTML as primary method. * Supports subreddit listings and post details with comments. * * @updated 2026-01-02 - Switched from JSON API (now blocked) to HTML parsing */ import { BaseSiteHandler, type FetchFunction, type SiteHandlerOptions, type SiteHandlerResult } from './types.js'; export declare class RedditHandler extends BaseSiteHandler { readonly name = "Reddit"; readonly strategy: "api:reddit"; canHandle(url: string): boolean; extract(url: string, fetch: FetchFunction, opts: SiteHandlerOptions): Promise; /** * Convert any Reddit URL to old.reddit.com URL */ private getOldRedditUrl; /** * Parse old.reddit.com HTML to extract posts/comments */ private parseHtml; } export declare const redditHandler: RedditHandler; //# sourceMappingURL=reddit-handler.d.ts.map