@ablanc/crunchyroll
Version:
Node.js module to scrape crunchyroll website.
20 lines (19 loc) • 424 B
TypeScript
interface CalendarEpisode {
number: number;
hour: string;
name: string;
link: string;
image: string;
ref: "crunchyroll";
}
interface Day {
date: string | undefined;
episodes: CalendarEpisode[];
}
interface CalendarArgs {
date?: string;
free?: boolean;
}
declare type getCalendarFn = (data?: CalendarArgs) => Promise<Day[]>;
export declare const getCalendar: getCalendarFn;
export {};