mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-09 14:40:23 +08:00
* Add New York Museums with working code * Add Guggenheim and fix Jewish Museum * Add pubDate for Gugg and Met Exhibitions * Update docs * Add New Museum and MCA Chicago, update document * Fix en route * Add and update radar.js * Add Brooklyn Museum * Reformat code * Update route and travel information * Fix `http` -> `https` for `radar.js` * Change some link quotations mark * Using `parseDate` provided by the project * Removing "insecureHTTPParser" * Fix JewishMuseum issue * Use regex instead of node's vm * Update lib/v2/jewishmuseum/exhibitions.js Co-authored-by: Tony <TonyRL@users.noreply.github.com> * Update lib/v2/guggenheim/exhibitions.js Co-authored-by: Tony <TonyRL@users.noreply.github.com> * Update docs/en/travel.md Co-authored-by: Tony <TonyRL@users.noreply.github.com> * Update docs/travel.md Co-authored-by: Tony <TonyRL@users.noreply.github.com> Co-authored-by: Tony <TonyRL@users.noreply.github.com>
18 lines
464 B
JavaScript
18 lines
464 B
JavaScript
const buildData = require('@/utils/common-config');
|
|
|
|
module.exports = async (ctx) => {
|
|
const link = 'https://mcachicago.org/exhibitions';
|
|
|
|
ctx.state.data = await buildData({
|
|
link,
|
|
url: link,
|
|
title: 'MCA Chicago - Exhibitions',
|
|
item: {
|
|
item: '#exhibitions .card',
|
|
title: `$('.title').text()`,
|
|
link: `$('a').attr('href')`,
|
|
// description: `$('a').html()`,
|
|
},
|
|
});
|
|
};
|