UNPKG

rsshub

Version:
15 lines (13 loc) 483 B
import { t as got_default } from "./got-KxxWdaxq.mjs"; import { load } from "cheerio"; //#region lib/routes/woshipm/utils.ts const baseUrl = "https://www.woshipm.com"; const parseArticle = (item, tryGet) => tryGet(item.link, async () => { const { data: response } = await got_default(item.link); const $ = load(response); $(".support-author").remove(); item.description = $(".article--content").html(); return item; }); //#endregion export { parseArticle as n, baseUrl as t };