INNER CODE UNIT · TypeScript

extract_from_url

philschmid/clipper.js · src/clipper.ts:108

export async function extract_from_url(page: string) {
  const dom = await JSDOM.fromURL(page);
  return extract_from_dom(dom)
}

export async function extract_from_html(html: string) {
  const dom = new JSDOM(html);
  return extract_from_dom(dom)
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…