import { fetchText } from "https://esm.town/v/stevekrouse/fetchText?v=5";
export const webscrapeWikipediaIntro = (async () => {
const cheerio = await import("npm:cheerio");
const html = await fetchText(
"https://en.wikipedia.org/wiki/OpenAI",
);
const $ = cheerio.load(html);
const intro = $("p:nth-of-type(2)").first().text();
return intro;
})();