feat: update types in /rsshub/rss
This commit is contained in:
parent
976fd27e8c
commit
49569ba92b
|
|
@ -2,7 +2,28 @@ const got = require('@/utils/got');
|
|||
const cheerio = require('cheerio');
|
||||
|
||||
module.exports = async (ctx) => {
|
||||
const types = ['social-media', 'programming', 'live', 'multimedia', 'picture', 'anime', 'program-update', 'university', 'traditional-media', 'forecast', 'travel', 'shopping', 'game', 'reading', 'government', 'other'];
|
||||
const types = [
|
||||
'social-media',
|
||||
'new-media',
|
||||
'traditional-media',
|
||||
'programming',
|
||||
'design',
|
||||
'live',
|
||||
'multimedia',
|
||||
'picture',
|
||||
'anime',
|
||||
'program-update',
|
||||
'university',
|
||||
'forecast',
|
||||
'travel',
|
||||
'shopping',
|
||||
'game',
|
||||
'reading',
|
||||
'government',
|
||||
'blog',
|
||||
'study',
|
||||
'other',
|
||||
];
|
||||
const all = await Promise.all(
|
||||
types.map(async (type) => {
|
||||
const response = await got({
|
||||
|
|
|
|||
Loading…
Reference in New Issue