mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-09 23:00:48 +08:00
@@ -384,6 +384,12 @@ type 为 all 时,category 参数不支持 cost 和 free
|
||||
|
||||
<Route author="LogicJake" example="/kpmg/insights" path="/kpmg/insights" />
|
||||
|
||||
## 币世界
|
||||
|
||||
### 快讯
|
||||
|
||||
<Route author="kt286" example="/bishijie/kuaixun" path="/bishijie/kuaixun"/>
|
||||
|
||||
## 播客 IBC 岩手放送| IBC ラジオ イヤーマイッタマイッタ
|
||||
|
||||
### IBC 岩手放送| IBC ラジオ イヤーマイッタマイッタ
|
||||
|
||||
@@ -1651,4 +1651,7 @@ router.get('/wechat-open/community/xyx-announce', require('./routes/wechat-open/
|
||||
router.get('/wechat-open/community/pay-announce', require('./routes/wechat-open/community/pay-announce'));
|
||||
router.get('/wechat-open/pay/announce', require('./routes/wechat-open/pay/announce'));
|
||||
|
||||
// 币世界快讯
|
||||
router.get('/bishijie/kuaixun', require('./routes/bishijie/kuaixun'));
|
||||
|
||||
module.exports = router;
|
||||
|
||||
23
lib/routes/bishijie/kuaixun.js
Normal file
23
lib/routes/bishijie/kuaixun.js
Normal file
@@ -0,0 +1,23 @@
|
||||
const buildData = require('@/utils/common-config');
|
||||
|
||||
module.exports = async (ctx) => {
|
||||
const link = `https://www.bishijie.com/kuaixun/`;
|
||||
const host = `https://www.bishijie.com`;
|
||||
ctx.state.data = await buildData({
|
||||
link,
|
||||
url: link,
|
||||
title: `%title%`,
|
||||
params: {
|
||||
title: '币世界快讯列表',
|
||||
host,
|
||||
},
|
||||
item: {
|
||||
item: '.livetop ul',
|
||||
title: `$('li.lh32 h2 a').text()`,
|
||||
link: `'%host%' + $('li.lh32 h2 a').attr('href')`,
|
||||
description: `$('li.lh32 div a').html()`,
|
||||
pubDate: `new Date($('li.lh32').parent().attr('id')*1000).toUTCString()`,
|
||||
guid: `$('li.lh32').parent().data('id')`,
|
||||
},
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user