* feat(route): add zyw今日热榜 * fix typo * fix: remove cache.tryGet * fix radar params * update lib/v2/zyw/radar.js ---------
17 lines
487 B
JavaScript
17 lines
487 B
JavaScript
module.exports = {
|
|
'zyw.asia': {
|
|
_name: 'zyw',
|
|
hot: [
|
|
{
|
|
title: '今日热榜',
|
|
docs: 'https://docs.rsshub.app/new-media.html#zyw-jin-ri-re-bang',
|
|
source: ['/'],
|
|
target: (params, url) => {
|
|
const matches = new URL(url).href.match(/type=(\w+)/);
|
|
return `/zyw/hot${matches ? `/${matches[1]}` : ''}`;
|
|
},
|
|
},
|
|
],
|
|
},
|
|
};
|