fix(route): add cool paper Robotics RSS and fix kimi url (#17132)

This commit is contained in:
Yun Du
2024-10-15 01:40:56 +08:00
committed by GitHub
parent b3d8bc861d
commit 74f9863a19
+7 -1
View File
@@ -20,7 +20,7 @@ export const handler = async (ctx) => {
const feedUrl = new URL(`${category}/feed`, rootUrl).href;
const site = category.split(/\//)[0];
const apiKimiUrl = new URL(`${site}/kimi/`, rootUrl).href;
const apiKimiUrl = new URL(`${site}/kimi?paper=`, rootUrl).href;
const feed = await parser.parseURL(feedUrl);
@@ -91,6 +91,7 @@ export const route: Route = {
| arXiv Computation and Language (cs.CL) | arxiv/cs.CL |
| arXiv Computer Vision and Pattern Recognition (cs.CV) | arxiv/cs.CV |
| arXiv Machine Learning (cs.LG) | arxiv/cs.LG |
| arXiv Robotics (cs.RO) | arxiv/cs.RO |
`,
categories: ['journal'],
@@ -124,5 +125,10 @@ export const route: Route = {
source: ['papers.cool/arxiv/cs.LG'],
target: '/arxiv/cs.LG',
},
{
title: 'arXiv Robotics (cs.RO)',
source: ['papers.cool/arxiv/cs.RO'],
target: '/arxiv/cs.RO',
},
],
};