UNPKG

@hanivanrizky/nestjs-html-parser

Version:

⚠️ ARCHIVED - This package is no longer maintained. Please migrate to @hanivanrizky/nestjs-xpath-parser (https://github.com/Hanivan/nestjs-xpath-parser)

33 lines (32 loc) 1.01 kB
/** * Otakudesu.cloud - Indonesian Anime Streaming Site Parser * * This example demonstrates parsing ongoing anime information from Otakudesu, * a popular Indonesian anime streaming website. We'll extract anime titles, * episode numbers, release dates, and other metadata from the ongoing anime section. * * Website: https://otakudesu.cloud/ * Focus: On-going Anime section (div.venz > ul > li structure) */ interface OngoingAnime { title: string; cleanTitle: string; episode: number; releaseDay: string; releaseDate: string; link: string; imageUrl: string; hasSubIndo: boolean; status: 'ongoing'; } interface OtakudesuStats { totalOngoingAnime: number; latestEpisodes: OngoingAnime[]; releaseSchedule: { [day: string]: number; }; popularTitles: string[]; averageEpisode: number; } declare function demonstrateOtakudesuParser(verbose?: boolean): Promise<void>; export { demonstrateOtakudesuParser, OngoingAnime, OtakudesuStats };