RSSHub/lib/v2/grubstreet/index.js

10 lines
354 B
JavaScript

const utils = require('./utils');
module.exports = async (ctx) => {
const url = `https://www.grubstreet.com/_components/newsfeed/instances/grubstreet-index@published`;
const title = `Grub Street`;
const description = `New York Magazine's Food and Restaurant Blog`;
ctx.state.data = await utils.getData(ctx, url, title, description);
};