UNPKG

rsshub

Version:
46 lines (44 loc) 1.16 kB
import "./esm-shims-CzJ_djXG.mjs"; import "./config-C37vj7VH.mjs"; import "./dist-BInvbO1W.mjs"; import "./logger-Czu8UMNd.mjs"; import "./ofetch-BIyrKU3Y.mjs"; import "./parse-date-BrP7mxXf.mjs"; import "./timezone-D8cuwzTY.mjs"; import { t as common_config_default } from "./common-config-ChcwGVXn.mjs"; //#region lib/routes/iiilab/index.ts const baseUrl = "https://www.iiilab.com/"; const route = { path: "/", radar: [{ source: ["www.iiilab.com/"], target: "" }], name: "Unknown", maintainers: ["Joey"], handler, url: "www.iiilab.com/" }; async function handler() { const link = baseUrl; return await common_config_default({ link, url: link, title: `%title%`, description: `%description%`, params: { title: "发现", description: "人人都是自媒体-发现" }, item: { item: ".aw-common-list > div", title: `$('a').first().text()`, link: `$('a').first().attr('href')`, description: `$('.markitup-box').first().text()`, pubDate: `parseDate($('.text-color-999').first().text(), 'YYYY-MM-DD HH:mm')`, guid: Buffer.from(`$('a').attr('href')`).toString("base64") } }); } //#endregion export { route };