docs/Script API/interfaces/Backend_Script_API._internal_.CheerioAPI.html
interface CheerioAPI {
version: string;
contains(container: Element, contained: Element): boolean;
html(options?: CheerioParserOptions): string;
html(
dom: string | Element | Cheerio,
options?: CheerioParserOptions,
): string;
load(
html: string | Buffer<ArrayBufferLike>,
options?: CheerioParserOptions,
): Root;
load(element: Element | Element[], options?: CheerioParserOptions): Root;
parseHTML(
data: string,
context?: null | Document,
keepScripts?: boolean,
): Document[];
root(): Cheerio;
xml(dom?: string | Element | Cheerio): string;
(selector: string): Cheerio;
(selector: string, context: string): Cheerio;
(selector: string, context: Element): Cheerio;
(selector: string, context: Element[]): Cheerio;
(selector: string, context: Cheerio): Cheerio;
(selector: string, context: string, root: string): Cheerio;
(selector: string, context: Element, root: string): Cheerio;
(selector: string, context: Element[], root: string): Cheerio;
(selector: string, context: Cheerio, root: string): Cheerio;
(selector: any): Cheerio;
}
CheerioAPI(selector: string): Cheerio
CheerioAPI(selector: string, context: string): Cheerio
CheerioAPI(selector: string, context: Element): Cheerio
CheerioAPI(selector: string, context: Element[]): Cheerio
CheerioAPI(selector: string, context: Cheerio): Cheerio
CheerioAPI(selector: string, context: string, root: string): Cheerio
CheerioAPI(selector: string, context: Element, root: string): Cheerio
CheerioAPI(selector: string, context: Element[], root: string): Cheerio
CheerioAPI(selector: string, context: Cheerio, root: string): Cheerio
CheerioAPI(selector: any): Cheerio
containshtmlloadparseHTMLrootxml
version: string
contains(container: Element, contained: Element): boolean
html(options?: CheerioParserOptions): string
Optionaloptions: CheerioParserOptionshtml(dom: string | Element | Cheerio, options?: CheerioParserOptions): string
Optionaloptions: CheerioParserOptionsload(
html: string | Buffer<ArrayBufferLike>,
options?: CheerioParserOptions,
): Root
Optionaloptions: CheerioParserOptionsload(element: Element | Element[], options?: CheerioParserOptions): Root
Optionaloptions: CheerioParserOptionsparseHTML(
data: string,
context?: null | Document,
keepScripts?: boolean,
): Document[]
Optionalcontext: null | DocumentOptionalkeepScripts: booleanroot(): Cheerio
xml(dom?: string | Element | Cheerio): string
Member Visibility
ThemeOSLightDark