UNPKG

node-csfd-api-racintom

Version:

ČSFD API in JavaScript. Amazing NPM library for scrapping csfd.cz :)

18 lines (17 loc) 893 B
import { HTMLElement } from 'node-html-parser'; import { CSFDCreatorScreening } from '../interfaces/creator.interface'; import { CSFDColorRating } from '../interfaces/global'; export declare const getColorRating: (el: HTMLElement) => CSFDColorRating; export declare const getId: (url: string) => number; export declare const getName: (el: HTMLElement | null) => string; export declare const getBirthdayInfo: (el: HTMLElement | null) => { birthday: string; age: number; birthPlace: string; }; export declare const getBio: (el: HTMLElement | null) => string; export declare const getPhoto: (el: HTMLElement | null) => string; export declare const parseBirthday: (text: string) => any; export declare const parseAge: (text: string) => any; export declare const parseBirthPlace: (text: string) => any; export declare const getFilms: (el: HTMLElement | null) => CSFDCreatorScreening[];