UNPKG

rsshub

Version:
25 lines (21 loc) 620 B
import { Route } from '@/types'; import utils from './utils'; export const route: Route = { path: '/', radar: [ { source: ['grubstreet.com/'], target: '', }, ], name: 'Unknown', maintainers: ['loganrockmore'], handler, url: 'grubstreet.com/', }; async function handler(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`; return await utils.getData(ctx, url, title, description); }