rsshub
Version:
Make RSS Great Again!
43 lines (41 loc) • 1.08 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 "./timezone-D8cuwzTY.mjs";
import { t as common_config_default } from "./common-config-ChcwGVXn.mjs";
//#region lib/routes/jewishmuseum/exhibitions.ts
const route = {
path: "/exhibitions",
categories: ["travel"],
example: "/jewishmuseum/exhibitions",
parameters: {},
features: {
requireConfig: false,
requirePuppeteer: false,
antiCrawler: false,
supportBT: false,
supportPodcast: false,
supportScihub: false
},
name: "Exhibitions",
maintainers: ["chazeon"],
handler
};
async function handler() {
const link = "https://thejewishmuseum.org/exhibitions";
return await common_config_default({
link,
url: link,
title: "Jewish Museums - Exhibitions",
item: {
item: "#current article.exhibition, #upcoming article, #past article.exhibition",
title: `$('h3').text()`,
link: `$('h3').parent().attr('href')`
}
});
}
//#endregion
export { route };