MCPcopy Create free account
hub / github.com/scriptscat/scriptcat / extractHtmlWithSelectors

Function extractHtmlWithSelectors

src/app/service/offscreen/client.ts:67–70  ·  view source on GitHub ↗
(msgSender: MessageSend, html: string)

Source from the content-addressed store, hash-verified

65
66// HTML 内容提取(带 selector 标注)
67export async function extractHtmlWithSelectors(msgSender: MessageSend, html: string): Promise<string | null> {
68 const result = await sendMessage(msgSender, "offscreen/htmlExtractor/extractHtmlWithSelectors", html);
69 return result ?? null;
70}
71
72// Bing 搜索结果提取
73export async function extractBingResults(

Callers 1

createTabToolsFunction · 0.90

Calls 1

sendMessageFunction · 0.90

Tested by

no test coverage detected