rsshub
Version:
Make RSS Great Again!
41 lines (39 loc) • 1.44 kB
JavaScript
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 "./cache-Bo__VnGm.mjs";
import "./helpers-DxBp0Pty.mjs";
import "./common-utils-vrWQFAEk.mjs";
import "./render-BQo6B4tL.mjs";
import "./got-KxxWdaxq.mjs";
import "./timezone-D8cuwzTY.mjs";
import "./wechat-mp-Dq_pp853.mjs";
import { t as gdgov } from "./general-Q6xx7Ye1.mjs";
//#region lib/routes/gov/mmht/mmht.ts
const route = {
path: "/mmht/*",
name: "Unknown",
maintainers: [],
handler
};
async function handler(ctx) {
await gdgov({
defaultPath: "xwzx/zcjd/",
list_element: "#main21l_main_dk > table > tbody > tr > td:nth-child(2) a",
list_include: "site",
title_element: "td[background=\"/global/rlyelen_line04.gif\"] > table:nth-child(1) > tbody > tr:nth-child(2)",
title_match: "(.*)",
description_element: "td[background=\"/global/rlyelen_line04.gif\"] > table:nth-child(1) > tbody > tr:nth-child(4)",
author_element: void 0,
author_match: void 0,
authorisme: "茂名市高新技术产业开发局政务网",
pubDate_element: "td[background=\"/global/rlyelen_line04.gif\"] > table:nth-child(1) > tbody > tr:nth-child(3) > td > table > tbody > tr > td",
pubDate_match: "发表时间:(.*)\xA0\xA0\xA0\xA0\xA0\xA0\xA0信息来源",
pubDate_format: void 0
}, ctx);
}
//#endregion
export { route };