@fcc-cdc/it-events
Version:
IT Events Crawler of China
33 lines (32 loc) • 981 B
TypeScript
import 'urlpattern-polyfill';
import { AgendaCrawler } from './core';
export declare class BagEventAgenda extends AgendaCrawler {
static baseURI: string;
static schema: URLPattern;
getList(URI: string): AsyncGenerator<{
mentor: Partial<Record<"name" | "position" | "summary" | "avatar", string>>;
startTime: string;
endTime: string;
title: string;
forum: import("./core").Forum;
}, void, unknown>;
getDuration(box: HTMLElement | null): {
startTime: string;
endTime: string;
};
getItemFrom(box: HTMLElement): Promise<{
mentor: Partial<Record<"name" | "position" | "summary" | "avatar", string>>;
startTime: string;
endTime: string;
title: string;
}>;
getItem(URI: string): Promise<{
title: string;
mentor: {
name: string;
avatar: string;
position: string;
summary: string;
};
}>;
}