feat: 虫部落 (#154)

* fix: coolapk
fixed #138

* feat: 虫部落

---------

Co-authored-by: ourongxing <[email protected]>

feat: add source 虫部落 hot and latest

chore: use rss to fetch 虫部落 latest
This commit is contained in:
dxxxxxxx
2025-04-26 17:41:39 +08:00
committed by ourongxing
co-authored by ourongxing
parent 276869cffe
commit ef861aed05
7 changed files with 98 additions and 8 deletions
+3 -1
View File
@@ -42,5 +42,7 @@
"nowcoder": "niuke",
"sspai": "shaoshupai",
"juejin": "xitujuejin",
"ifeng": "fenghuangwang-redianzixun"
"ifeng": "fenghuangwang-redianzixun",
"chongbuluo-latest": "chongbuluo-zuixin",
"chongbuluo-hot": "chongbuluo-zuire"
}
+19
View File
@@ -379,6 +379,25 @@ export const originSources = {
title: "热点资讯",
home: "https://www.ifeng.com",
},
"chongbuluo": {
name: "虫部落",
column: "china",
color: "green",
home: "https://www.chongbuluo.com",
sub: {
latest: {
title: "最新",
interval: Time.Common,
home: "https://www.chongbuluo.com/forum.php?mod=guide&view=newthread",
},
hot: {
title: "最热",
type: "hottest",
interval: Time.Common,
home: "https://www.chongbuluo.com/forum.php?mod=guide&view=hot",
},
},
},
} as const satisfies Record<string, OriginSource>
export function genSources() {
+26
View File
@@ -475,5 +475,31 @@
"home": "https://www.ifeng.com",
"color": "red",
"interval": 600000
},
"chongbuluo": {
"redirect": "chongbuluo-latest",
"name": "虫部落",
"column": "china",
"home": "https://www.chongbuluo.com/forum.php?mod=guide&view=newthread",
"color": "green",
"interval": 1800000,
"title": "最新"
},
"chongbuluo-latest": {
"name": "虫部落",
"column": "china",
"home": "https://www.chongbuluo.com/forum.php?mod=guide&view=newthread",
"color": "green",
"interval": 1800000,
"title": "最新"
},
"chongbuluo-hot": {
"name": "虫部落",
"type": "hottest",
"column": "china",
"home": "https://www.chongbuluo.com/forum.php?mod=guide&view=hot",
"color": "green",
"interval": 1800000,
"title": "最热"
}
}