import { Route } from '@/types'; import cache from '@/utils/cache'; import got from '@/utils/got'; export const route: Route = { path: '/thebatch', categories: ['programming'], example: '/deeplearning/thebatch', parameters: {}, features: { requireConfig: false, requirePuppeteer: false, antiCrawler: false, supportBT: false, supportPodcast: false, supportScihub: false, }, radar: [ { source: ['www.deeplearning.ai/thebatch', 'www.deeplearning.ai/'], }, ], name: 'TheBatch 周报', maintainers: ['nczitzk', 'juvenn'], handler, url: 'www.deeplearning.ai/thebatch', }; async function handler() { const page = await got({ method: 'get', url: `https://www.deeplearning.ai/the-batch/`, }); const nextJs = page.data.match(/