rsshub 1.0.0-master.efbaf06 → 1.0.0-master.efcac36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api/follow/config.ts +23 -0
- package/lib/api/index.ts +2 -0
- package/lib/config.ts +13 -1
- package/lib/routes/10jqka/realtimenews.ts +2 -2
- package/lib/routes/141jav/namespace.ts +1 -1
- package/lib/routes/141ppv/namespace.ts +1 -1
- package/lib/routes/163/music/djradio.ts +27 -20
- package/lib/routes/163/namespace.ts +1 -1
- package/lib/routes/163/news/rank.ts +2 -2
- package/lib/routes/163/templates/music/djradio-content.art +2 -0
- package/lib/routes/163/today.ts +2 -2
- package/lib/routes/18comic/album.ts +2 -2
- package/lib/routes/18comic/namespace.ts +1 -1
- package/lib/routes/18comic/search.ts +2 -2
- package/lib/routes/1lou/index.ts +2 -2
- package/lib/routes/1point3acres/category.ts +2 -2
- package/lib/routes/1point3acres/offer.ts +2 -2
- package/lib/routes/423down/index.ts +2 -2
- package/lib/routes/4ksj/forum.ts +2 -2
- package/lib/routes/52hrtt/symposium.ts +2 -2
- package/lib/routes/591/list.ts +2 -2
- package/lib/routes/78dm/index.ts +2 -2
- package/lib/routes/81/81rc/index.ts +2 -2
- package/lib/routes/91porn/namespace.ts +1 -1
- package/lib/routes/a9vg/index.ts +2 -2
- package/lib/routes/aamacau/index.ts +2 -2
- package/lib/routes/abc/index.ts +2 -2
- package/lib/routes/accessbriefing/index.ts +2 -2
- package/lib/routes/acfun/bangumi.ts +1 -1
- package/lib/routes/aeaweb/index.ts +2 -2
- package/lib/routes/agri/index.ts +2 -2
- package/lib/routes/aibase/discover.ts +2 -2
- package/lib/routes/aibase/topic.ts +4 -4
- package/lib/routes/aip/journal.ts +2 -2
- package/lib/routes/aisixiang/zhuanti.ts +2 -2
- package/lib/routes/ali213/news.ts +1 -1
- package/lib/routes/ali213/zl.ts +226 -0
- package/lib/routes/ally/rail.ts +2 -2
- package/lib/routes/annualreviews/index.ts +2 -2
- package/lib/routes/anquanke/namespace.ts +1 -1
- package/lib/routes/anthropic/namespace.ts +7 -0
- package/lib/routes/anthropic/news.ts +60 -0
- package/lib/routes/apnic/index.ts +61 -0
- package/lib/routes/apnic/namespace.ts +8 -0
- package/lib/routes/app-center/release.ts +2 -2
- package/lib/routes/apple/apps.ts +2 -2
- package/lib/routes/arcteryx/new-arrivals.ts +2 -2
- package/lib/routes/arcteryx/outlet.ts +2 -2
- package/lib/routes/bangumi.tv/subject/index.ts +2 -2
- package/lib/routes/barronschina/index.ts +2 -2
- package/lib/routes/bdys/namespace.ts +1 -1
- package/lib/routes/behance/queries.ts +1015 -0
- package/lib/routes/behance/templates/description.art +23 -0
- package/lib/routes/behance/user.ts +78 -55
- package/lib/routes/beijingprice/index.ts +2 -2
- package/lib/routes/bilibili/dynamic.ts +3 -1
- package/lib/routes/bilibili/followers.ts +2 -2
- package/lib/routes/bilibili/followings-article.ts +2 -2
- package/lib/routes/bilibili/followings-dynamic.ts +2 -2
- package/lib/routes/bilibili/followings-video.ts +2 -2
- package/lib/routes/bilibili/followings.ts +2 -2
- package/lib/routes/bilibili/live-area.ts +2 -2
- package/lib/routes/bilibili/manga-followings.ts +2 -2
- package/lib/routes/bilibili/user-channel.ts +1 -0
- package/lib/routes/bilibili/user-collection.ts +1 -0
- package/lib/routes/bilibili/watchlater.ts +2 -2
- package/lib/routes/biquge/namespace.ts +1 -1
- package/lib/routes/bjsk/index.ts +2 -2
- package/lib/routes/bjtu/gs.ts +2 -2
- package/lib/routes/blizzard/news.ts +120 -31
- package/lib/routes/bnu/fe.ts +71 -0
- package/lib/routes/bnu/mba.ts +2 -2
- package/lib/routes/bt0/namespace.ts +2 -2
- package/lib/routes/btzj/index.ts +4 -4
- package/lib/routes/buaa/jiaowu.ts +1 -1
- package/lib/routes/buaa/sme.ts +2 -2
- package/lib/routes/cast/index.ts +2 -2
- package/lib/routes/cbpanet/index.ts +2 -2
- package/lib/routes/cccfna/index.ts +1 -1
- package/lib/routes/ccfa/index.ts +2 -2
- package/lib/routes/cctv/lm.ts +2 -2
- package/lib/routes/chaoxing/qk.ts +4 -4
- package/lib/routes/chikubi/namespace.ts +1 -1
- package/lib/routes/chinacdc/index.ts +26 -11
- package/lib/routes/chinania/index.ts +2 -2
- package/lib/routes/chongdiantou/index.ts +29 -26
- package/lib/routes/cisia/index.ts +2 -2
- package/lib/routes/civitai/discussions.ts +1 -1
- package/lib/routes/cls/subject.ts +2 -2
- package/lib/routes/cma/channel.ts +2 -2
- package/lib/routes/cngold/index.ts +2 -2
- package/lib/routes/cnki/author.ts +2 -2
- package/lib/routes/cntv/column.ts +1 -1
- package/lib/routes/coolapk/dyh.ts +2 -2
- package/lib/routes/coolapk/hot.ts +2 -2
- package/lib/routes/coolapk/namespace.ts +1 -1
- package/lib/routes/copernicium/index.ts +29 -21
- package/lib/routes/counter-strike/news.ts +2 -2
- package/lib/routes/cpcaauto/index.ts +2 -2
- package/lib/routes/cuilingmag/index.ts +2 -2
- package/lib/routes/cursor/changelog.ts +63 -0
- package/lib/routes/cursor/namespace.ts +8 -0
- package/lib/routes/dcard/namespace.ts +1 -1
- package/lib/routes/deeplearning/the-batch.ts +1 -1
- package/lib/routes/deepseek/namespace.ts +8 -0
- package/lib/routes/deepseek/news.ts +88 -0
- package/lib/routes/dehenglaw/index.ts +2 -2
- package/lib/routes/discourse/namespace.ts +1 -1
- package/lib/routes/discourse/notifications.ts +1 -1
- package/lib/routes/dnaindia/topic.ts +1 -1
- package/lib/routes/dockerhub/tag.ts +2 -2
- package/lib/routes/domp4/detail.ts +1 -1
- package/lib/routes/domp4/namespace.ts +1 -1
- package/lib/routes/dongqiudi/daily.ts +1 -1
- package/lib/routes/dongqiudi/namespace.ts +1 -1
- package/lib/routes/douban/other/recommended.ts +2 -2
- package/lib/routes/douyin/namespace.ts +1 -1
- package/lib/routes/dw/news.ts +1 -1
- package/lib/routes/dytt/index.ts +75 -0
- package/lib/routes/dytt/namespace.ts +7 -0
- package/lib/routes/eshukan/academic.ts +2 -2
- package/lib/routes/fashionnetwork/index.ts +2 -2
- package/lib/routes/finology/category.ts +2 -2
- package/lib/routes/finology/tag.ts +1 -1
- package/lib/routes/flyert/forum.ts +2 -2
- package/lib/routes/freebuf/index.ts +2 -2
- package/lib/routes/ft/myft.ts +2 -2
- package/lib/routes/ftchinese/channel.ts +2 -2
- package/lib/routes/geekpark/index.ts +2 -2
- package/lib/routes/github/namespace.ts +1 -1
- package/lib/routes/go/mhlw/pdf.ts +2 -2
- package/lib/routes/go/niid/idwr-dl.ts +2 -2
- package/lib/routes/google/fonts.ts +2 -2
- package/lib/routes/google/scholar.ts +2 -2
- package/lib/routes/gov/ah/kjt.ts +2 -2
- package/lib/routes/gov/beijing/bjedu/gh.ts +2 -2
- package/lib/routes/gov/cbirc/index.ts +2 -2
- package/lib/routes/gov/csrc/csrc.ts +2 -2
- package/lib/routes/gov/customs/list.ts +1 -1
- package/lib/routes/gov/hainan/iitb/tzgg.ts +77 -0
- package/lib/routes/gov/hainan/namespace.ts +8 -0
- package/lib/routes/gov/jgjcndrc/index.ts +2 -2
- package/lib/routes/gov/lswz/index.ts +2 -2
- package/lib/routes/gov/moa/zdscxx.ts +2 -2
- package/lib/routes/gov/sh/fgw/index.ts +2 -2
- package/lib/routes/gov/suzhou/news.ts +2 -2
- package/lib/routes/guancha/index.ts +2 -2
- package/lib/routes/guangdiu/index.ts +2 -2
- package/lib/routes/gzdaily/app.ts +2 -2
- package/lib/routes/hashnode/blog.ts +2 -2
- package/lib/routes/hbr/topic.ts +2 -2
- package/lib/routes/hiring.cafe/jobs.ts +150 -0
- package/lib/routes/hiring.cafe/namespace.ts +10 -0
- package/lib/routes/hiring.cafe/templates/jobs.art +18 -0
- package/lib/routes/hit/namespace.ts +1 -1
- package/lib/routes/hit/today.ts +4 -4
- package/lib/routes/hket/index.ts +1 -1
- package/lib/routes/home-assistant/hacs.ts +50 -0
- package/lib/routes/home-assistant/namespace.ts +7 -0
- package/lib/routes/hubu/index.ts +2 -2
- package/lib/routes/hubu/zhxy.ts +2 -2
- package/lib/routes/huggingface/blog.ts +87 -0
- package/lib/routes/hupu/all.ts +2 -2
- package/lib/routes/hupu/bbs.ts +2 -2
- package/lib/routes/hupu/index.ts +2 -2
- package/lib/routes/hust/gs.ts +2 -2
- package/lib/routes/hust/mse.ts +2 -2
- package/lib/routes/i-cable/news.ts +1 -1
- package/lib/routes/iehou/index.ts +2 -2
- package/lib/routes/ifanr/category.ts +71 -0
- package/lib/routes/ifanr/index.ts +70 -0
- package/lib/routes/ifanr/namespace.ts +8 -0
- package/lib/routes/ifi-audio/download.ts +1 -1
- package/lib/routes/ifun/n/search.ts +1 -1
- package/lib/routes/ifun/n/tag.ts +1 -1
- package/lib/routes/infoq/presentations.ts +2 -2
- package/lib/routes/informedainews/namespace.ts +1 -1
- package/lib/routes/instagram/namespace.ts +1 -1
- package/lib/routes/instagram/web-api/index.ts +1 -1
- package/lib/routes/investor/index.ts +2 -2
- package/lib/routes/iqiyi/album.ts +2 -2
- package/lib/routes/iresearch/chart.ts +375 -0
- package/lib/routes/iresearch/templates/chart.art +13 -0
- package/lib/routes/isct/namespace.ts +1 -1
- package/lib/routes/ithome/zt.ts +2 -2
- package/lib/routes/iwara/subscriptions.ts +2 -2
- package/lib/routes/javbus/namespace.ts +3 -3
- package/lib/routes/javdb/namespace.ts +2 -2
- package/lib/routes/javdb/tags.ts +2 -2
- package/lib/routes/javlibrary/genre.ts +2 -2
- package/lib/routes/javlibrary/star.ts +2 -2
- package/lib/routes/jd/price.ts +2 -2
- package/lib/routes/jimmyspa/books.ts +112 -0
- package/lib/routes/jimmyspa/namespace.ts +7 -0
- package/lib/routes/jimmyspa/news.ts +124 -0
- package/lib/routes/jimmyspa/templates/description.art +17 -0
- package/lib/routes/jisilu/category.ts +115 -0
- package/lib/routes/jisilu/explore.ts +79 -0
- package/lib/routes/jisilu/namespace.ts +1 -0
- package/lib/routes/jisilu/people.ts +95 -0
- package/lib/routes/jisilu/topic.ts +76 -0
- package/lib/routes/jisilu/util.ts +111 -0
- package/lib/routes/joins/chinese.ts +2 -2
- package/lib/routes/joneslanglasalle/index.ts +2 -2
- package/lib/routes/jrj/index.ts +127 -0
- package/lib/routes/jrj/namespace.ts +8 -0
- package/lib/routes/kemono/index.ts +2 -2
- package/lib/routes/keylol/index.ts +2 -2
- package/lib/routes/koreaherald/index.ts +70 -0
- package/lib/routes/koreaherald/namespace.ts +6 -0
- package/lib/routes/kuaidi100/index.ts +2 -2
- package/lib/routes/kuaishou/profile.ts +1 -1
- package/lib/routes/lmu/namespace.ts +1 -1
- package/lib/routes/lorientlejour/index.ts +2 -2
- package/lib/routes/lrepacks/index.ts +2 -2
- package/lib/routes/maccms/index.ts +1 -1
- package/lib/routes/maccms/namespace.ts +1 -1
- package/lib/routes/malaysiakini/namespace.ts +1 -1
- package/lib/routes/manhuagui/subscribe.ts +2 -2
- package/lib/routes/mastodon/namespace.ts +1 -1
- package/lib/routes/medium/following.ts +2 -2
- package/lib/routes/medium/for-you.ts +2 -2
- package/lib/routes/medium/list.ts +2 -2
- package/lib/routes/medium/tag.ts +2 -2
- package/lib/routes/medsci/index.ts +2 -2
- package/lib/routes/meishichina/index.ts +4 -4
- package/lib/routes/mihoyo/bbs/timeline.ts +2 -2
- package/lib/routes/moodysmismicrosite/namespace.ts +7 -0
- package/lib/routes/moodysmismicrosite/report.ts +90 -0
- package/lib/routes/mox/index.ts +4 -4
- package/lib/routes/msn/index.ts +85 -0
- package/lib/routes/msn/namespace.ts +10 -0
- package/lib/routes/nasa/apod-cn.ts +2 -2
- package/lib/routes/nature/highlight.ts +2 -2
- package/lib/routes/nature/namespace.ts +1 -1
- package/lib/routes/ncc-cma/cmdp.ts +2 -2
- package/lib/routes/newrank/douyin.ts +1 -1
- package/lib/routes/newrank/namespace.ts +1 -1
- package/lib/routes/newzmz/index.ts +2 -2
- package/lib/routes/nmtv/column.ts +2 -2
- package/lib/routes/now/news.ts +2 -2
- package/lib/routes/nuist/bulletin.ts +2 -2
- package/lib/routes/nuist/namespace.ts +1 -1
- package/lib/routes/nyaa/namespace.ts +1 -1
- package/lib/routes/obsidian/plugins.ts +41 -0
- package/lib/routes/oreno3d/namespace.ts +1 -1
- package/lib/routes/oschina/user.ts +1 -1
- package/lib/routes/ouc/jwgl.ts +2 -2
- package/lib/routes/p-articles/namespace.ts +1 -1
- package/lib/routes/papers/index.ts +5 -5
- package/lib/routes/papers/query.ts +112 -0
- package/lib/routes/parliament.uk/petitions.ts +1 -1
- package/lib/routes/pconline/namespace.ts +1 -1
- package/lib/routes/picuki/profile.ts +2 -2
- package/lib/routes/pingwest/tag.ts +2 -2
- package/lib/routes/pixiv/illustfollow.ts +2 -2
- package/lib/routes/pixiv/user.ts +1 -1
- package/lib/routes/pixivision/index.ts +2 -2
- package/lib/routes/pku/bbs/hot.ts +2 -2
- package/lib/routes/pku/hr.ts +2 -2
- package/lib/routes/playno1/av.ts +1 -1
- package/lib/routes/qq/ac/rank.ts +2 -2
- package/lib/routes/qq/cfhd/index.ts +2 -2
- package/lib/routes/questmobile/report.ts +2 -2
- package/lib/routes/questn/events.ts +1 -1
- package/lib/routes/radio/album.ts +2 -2
- package/lib/routes/radio/index.ts +2 -2
- package/lib/routes/radio/zhibo.ts +2 -2
- package/lib/routes/reuters/namespace.ts +1 -1
- package/lib/routes/rsc/journal.ts +2 -2
- package/lib/routes/rsshub/transform/json.ts +1 -1
- package/lib/routes/ruc/ai.ts +2 -2
- package/lib/routes/ruc/hr.ts +2 -2
- package/lib/routes/sctv/programme.ts +2 -2
- package/lib/routes/scut/gzic/media.ts +1 -1
- package/lib/routes/scut/gzic/news.ts +1 -1
- package/lib/routes/scut/gzic/notice.ts +1 -1
- package/lib/routes/scut/seie/news-ccenter.ts +1 -1
- package/lib/routes/sdzk/index.ts +2 -2
- package/lib/routes/shmeea/index.ts +4 -4
- package/lib/routes/showstart/artist.ts +1 -1
- package/lib/routes/showstart/brand.ts +1 -1
- package/lib/routes/showstart/event.ts +1 -1
- package/lib/routes/showstart/site.ts +1 -1
- package/lib/routes/shu/global.ts +1 -0
- package/lib/routes/shu/gs.ts +1 -0
- package/lib/routes/shu/index.ts +1 -0
- package/lib/routes/shu/jwb.ts +1 -0
- package/lib/routes/shu/society.ts +62 -0
- package/lib/routes/shu/xykd.ts +1 -0
- package/lib/routes/sicau/jk.ts +2 -2
- package/lib/routes/smzdm/haowen.ts +35 -19
- package/lib/routes/smzdm/namespace.ts +1 -1
- package/lib/routes/sony/downloads.ts +2 -2
- package/lib/routes/southcn/nfapp/column.ts +2 -2
- package/lib/routes/sse/sselawsrules.ts +2 -2
- package/lib/routes/stbu/jsjxy.ts +1 -1
- package/lib/routes/steam/appcommunityfeed.ts +1 -1
- package/lib/routes/storm/index.ts +2 -2
- package/lib/routes/syosetu/ranking-r18.ts +1 -1
- package/lib/routes/syosetu/ranking.ts +3 -3
- package/lib/routes/szse/rule.ts +2 -2
- package/lib/routes/t66y/post.ts +2 -2
- package/lib/routes/taptap/namespace.ts +1 -1
- package/lib/routes/techsir/index.ts +67 -0
- package/lib/routes/techsir/namespace.ts +8 -0
- package/lib/routes/telecompaper/news.ts +2 -2
- package/lib/routes/telegram/channel.ts +2 -2
- package/lib/routes/tesla/cx.ts +2 -2
- package/lib/routes/the/index.ts +2 -2
- package/lib/routes/theinitium/app.ts +1 -1
- package/lib/routes/theinitium/namespace.ts +1 -1
- package/lib/routes/themoviedb/namespace.ts +1 -1
- package/lib/routes/tiddlywiki/namespace.ts +8 -0
- package/lib/routes/tiddlywiki/releases.ts +84 -0
- package/lib/routes/tkww/index.ts +1 -1
- package/lib/routes/tokeninsight/namespace.ts +1 -1
- package/lib/routes/tophub/list.ts +1 -1
- package/lib/routes/tophub/namespace.ts +1 -1
- package/lib/routes/tsinghua/lib/zydt.ts +2 -2
- package/lib/routes/uestc/bbs.ts +1 -1
- package/lib/routes/uibe/hr.ts +2 -2
- package/lib/routes/vimeo/usr-videos.ts +2 -2
- package/lib/routes/wallhaven/index.ts +2 -2
- package/lib/routes/wallhaven/namespace.ts +1 -1
- package/lib/routes/washingtonpost/app.ts +1 -1
- package/lib/routes/web/series.ts +1 -1
- package/lib/routes/webcatalog/changelog.ts +59 -0
- package/lib/routes/webcatalog/namespace.ts +7 -0
- package/lib/routes/wechat/namespace.ts +1 -1
- package/lib/routes/wechat/tgchannel.ts +4 -4
- package/lib/routes/weibo/friends.ts +2 -2
- package/lib/routes/weibo/group.ts +2 -2
- package/lib/routes/weibo/namespace.ts +1 -1
- package/lib/routes/weibo/timeline.ts +2 -2
- package/lib/routes/weibo/user-bookmarks.ts +2 -2
- package/lib/routes/weibo/user.ts +2 -2
- package/lib/routes/weibo/utils.ts +3 -3
- package/lib/routes/wordpress/index.ts +2 -2
- package/lib/routes/xaut/jwc.ts +2 -2
- package/lib/routes/xaut/rsc.ts +2 -2
- package/lib/routes/xbmu/academic.ts +91 -0
- package/lib/routes/xbmu/announcement.ts +91 -0
- package/lib/routes/xbmu/namespace.ts +6 -0
- package/lib/routes/ximalaya/album.ts +2 -2
- package/lib/routes/xinpianchang/index.ts +2 -2
- package/lib/routes/xsijishe/forum.ts +2 -2
- package/lib/routes/xueqiu/column.ts +11 -2
- package/lib/routes/xueqiu/timeline.ts +2 -2
- package/lib/routes/xueqiu/user-stock.ts +1 -1
- package/lib/routes/xyzrank/namespace.ts +1 -1
- package/lib/routes/yamibo/bbs/forum.ts +1 -1
- package/lib/routes/yamibo/bbs/thread.ts +1 -1
- package/lib/routes/yicai/feed.ts +2 -2
- package/lib/routes/yna/index.ts +1 -1
- package/lib/routes/youtube/channel.ts +1 -1
- package/lib/routes/youtube/user.ts +13 -4
- package/lib/routes/zaker/channel.ts +44 -0
- package/lib/routes/zaker/focus.ts +39 -0
- package/lib/routes/zaker/utils.ts +186 -0
- package/lib/routes/zaobao/namespace.ts +1 -1
- package/lib/routes/zcool/discover.ts +2 -2
- package/lib/routes/zhihu/namespace.ts +1 -1
- package/lib/routes/zhihu/timeline.ts +2 -2
- package/lib/routes/zhihu/utils.ts +8 -11
- package/lib/routes/zhihu/xhu/activities.ts +2 -2
- package/lib/routes/zhubai/index.ts +2 -2
- package/lib/routes/zimuxia/portfolio.ts +1 -1
- package/lib/routes/zyw/hot.ts +2 -2
- package/package.json +23 -23
- package/lib/routes/jisilu/index.ts +0 -133
- package/lib/routes/zaker/index.ts +0 -80
- package/lib/routes-deprecated/dytt/index.js +0 -60
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { config } from '@/config';
|
|
2
|
+
import { createRoute, RouteHandler } from '@hono/zod-openapi';
|
|
3
|
+
|
|
4
|
+
const route = createRoute({
|
|
5
|
+
method: 'get',
|
|
6
|
+
path: '/follow/config',
|
|
7
|
+
tags: ['Follow'],
|
|
8
|
+
responses: {
|
|
9
|
+
200: {
|
|
10
|
+
description: 'Follow config',
|
|
11
|
+
},
|
|
12
|
+
},
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
const handler: RouteHandler<typeof route> = (ctx) =>
|
|
16
|
+
ctx.json({
|
|
17
|
+
ownerUserId: config.follow.ownerUserId,
|
|
18
|
+
description: config.follow.description,
|
|
19
|
+
price: config.follow.price,
|
|
20
|
+
userLimit: config.follow.userLimit,
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
export { route, handler };
|
package/lib/api/index.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { route as namespaceOneRoute, handler as namespaceOneHandler } from '@/ap
|
|
|
4
4
|
import { route as radarRulesAllRoute, handler as radarRulesAllHandler } from '@/api/radar/rules/all';
|
|
5
5
|
import { route as radarRulesOneRoute, handler as radarRulesOneHandler } from '@/api/radar/rules/one';
|
|
6
6
|
import { route as categoryOneRoute, handler as categoryOneHandler } from '@/api/category/one';
|
|
7
|
+
import { route as followConfigRoute, handler as followConfigHandler } from '@/api/follow/config';
|
|
7
8
|
import { OpenAPIHono } from '@hono/zod-openapi';
|
|
8
9
|
import { apiReference } from '@scalar/hono-api-reference';
|
|
9
10
|
|
|
@@ -14,6 +15,7 @@ app.openapi(namespaceOneRoute, namespaceOneHandler);
|
|
|
14
15
|
app.openapi(radarRulesAllRoute, radarRulesAllHandler);
|
|
15
16
|
app.openapi(radarRulesOneRoute, radarRulesOneHandler);
|
|
16
17
|
app.openapi(categoryOneRoute, categoryOneHandler);
|
|
18
|
+
app.openapi(followConfigRoute, followConfigHandler);
|
|
17
19
|
|
|
18
20
|
const docs = app.getOpenAPI31Document({
|
|
19
21
|
openapi: '3.1.0',
|
package/lib/config.ts
CHANGED
|
@@ -86,6 +86,12 @@ export type Config = {
|
|
|
86
86
|
promptTitle: string;
|
|
87
87
|
promptDescription: string;
|
|
88
88
|
};
|
|
89
|
+
follow: {
|
|
90
|
+
ownerUserId?: string;
|
|
91
|
+
description?: string;
|
|
92
|
+
price?: number;
|
|
93
|
+
userLimit?: number;
|
|
94
|
+
};
|
|
89
95
|
|
|
90
96
|
// Route-specific Configurations
|
|
91
97
|
bilibili: {
|
|
@@ -398,7 +404,7 @@ const toBoolean = (value: string | undefined, defaultValue: boolean) => {
|
|
|
398
404
|
}
|
|
399
405
|
};
|
|
400
406
|
|
|
401
|
-
const toInt = (value: string | undefined, defaultValue
|
|
407
|
+
const toInt = (value: string | undefined, defaultValue?: number) => (value === undefined ? defaultValue : Number.parseInt(value));
|
|
402
408
|
|
|
403
409
|
const calculateValue = () => {
|
|
404
410
|
const bilibili_cookies: Record<string, string | undefined> = {};
|
|
@@ -510,6 +516,12 @@ const calculateValue = () => {
|
|
|
510
516
|
promptDescription: envs.OPENAI_PROMPT || 'Please summarize the following article and reply with markdown format.',
|
|
511
517
|
promptTitle: envs.OPENAI_PROMPT_TITLE || 'Please translate the following title into Simplified Chinese and reply only translated text.',
|
|
512
518
|
},
|
|
519
|
+
follow: {
|
|
520
|
+
ownerUserId: envs.FOLLOW_OWNER_USER_ID,
|
|
521
|
+
description: envs.FOLLOW_DESCRIPTION,
|
|
522
|
+
price: toInt(envs.FOLLOW_PRICE),
|
|
523
|
+
userLimit: toInt(envs.FOLLOW_USER_LIMIT),
|
|
524
|
+
},
|
|
513
525
|
|
|
514
526
|
// Route-specific Configurations
|
|
515
527
|
bilibili: {
|
|
@@ -78,11 +78,11 @@ export const route: Route = {
|
|
|
78
78
|
handler,
|
|
79
79
|
example: '/10jqka/realtimenews',
|
|
80
80
|
parameters: { tag: '标签,默认为全部' },
|
|
81
|
-
description: `:::tip
|
|
81
|
+
description: `::: tip
|
|
82
82
|
若订阅 [7×24小时要闻直播](https://news.10jqka.com.cn/realtimenews.html) 的 \`公告\` 标签。将 \`公告\` 作为标签参数填入,此时路由为 [\`/10jqka/realtimenews/公告\`](https://rsshub.app/10jqka/realtimenews/公告)。
|
|
83
83
|
|
|
84
84
|
若订阅 [7×24小时要闻直播](https://news.10jqka.com.cn/realtimenews.html) 的 \`公告\` 和 \`A股\` 标签。将 \`公告,A股\` 作为标签参数填入,此时路由为 [\`/10jqka/realtimenews/公告,A股\`](https://rsshub.app/10jqka/realtimenews/公告,A股)。
|
|
85
|
-
|
|
85
|
+
:::
|
|
86
86
|
|
|
87
87
|
| 全部 | 重要 | A股 | 港股 | 美股 | 机会 | 异动 | 公告 |
|
|
88
88
|
| ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- |
|
|
@@ -3,7 +3,7 @@ import type { Namespace } from '@/types';
|
|
|
3
3
|
export const namespace: Namespace = {
|
|
4
4
|
name: '141JAV',
|
|
5
5
|
url: '141jav.com',
|
|
6
|
-
description: `:::tip
|
|
6
|
+
description: `::: tip
|
|
7
7
|
官方提供的订阅源不支持 BT 下载订阅,地址为 [https://141jav.com/feeds/](https://141jav.com/feeds/)
|
|
8
8
|
:::`,
|
|
9
9
|
lang: 'en',
|
|
@@ -3,7 +3,7 @@ import type { Namespace } from '@/types';
|
|
|
3
3
|
export const namespace: Namespace = {
|
|
4
4
|
name: '141PPV',
|
|
5
5
|
url: '141ppv.com',
|
|
6
|
-
description: `:::tip
|
|
6
|
+
description: `::: tip
|
|
7
7
|
官方提供的订阅源不支持 BT 下载订阅,地址为 [https://141ppv.com/feeds/](https://141ppv.com/feeds/)
|
|
8
8
|
:::`,
|
|
9
9
|
lang: 'en',
|
|
@@ -6,12 +6,14 @@ import got from '@/utils/got';
|
|
|
6
6
|
import { parseDate } from '@/utils/parse-date';
|
|
7
7
|
import { art } from '@/utils/render';
|
|
8
8
|
import path from 'node:path';
|
|
9
|
+
import cache from '@/utils/cache';
|
|
10
|
+
import { config } from '@/config';
|
|
9
11
|
|
|
10
12
|
export const route: Route = {
|
|
11
|
-
path: '/music/djradio/:id',
|
|
13
|
+
path: '/music/djradio/:id/:info?',
|
|
12
14
|
categories: ['multimedia'],
|
|
13
15
|
example: '/163/music/djradio/347317067',
|
|
14
|
-
parameters: { id: '节目 id, 可在电台节目页 URL 中找到' },
|
|
16
|
+
parameters: { id: '节目 id, 可在电台节目页 URL 中找到', info: '默认在正文尾部显示节目相关信息,任意值为不显示' },
|
|
15
17
|
features: {
|
|
16
18
|
requireConfig: false,
|
|
17
19
|
requirePuppeteer: false,
|
|
@@ -25,35 +27,39 @@ export const route: Route = {
|
|
|
25
27
|
handler,
|
|
26
28
|
};
|
|
27
29
|
|
|
30
|
+
const ProcessFeed = (id, limit, offset) =>
|
|
31
|
+
cache.tryGet(
|
|
32
|
+
`163:music:djradio:${id}:${limit}:${offset}`,
|
|
33
|
+
async () =>
|
|
34
|
+
await got.post('https://music.163.com/api/dj/program/byradio', {
|
|
35
|
+
headers: {
|
|
36
|
+
Referer: 'https://music.163.com/',
|
|
37
|
+
},
|
|
38
|
+
form: {
|
|
39
|
+
radioId: id,
|
|
40
|
+
limit,
|
|
41
|
+
offset,
|
|
42
|
+
},
|
|
43
|
+
}),
|
|
44
|
+
config.cache.routeExpire,
|
|
45
|
+
false
|
|
46
|
+
);
|
|
47
|
+
|
|
28
48
|
async function handler(ctx) {
|
|
29
49
|
const id = ctx.req.param('id');
|
|
50
|
+
const info = !ctx.req.param('info');
|
|
30
51
|
|
|
31
|
-
const
|
|
32
|
-
got.post('https://music.163.com/api/dj/program/byradio', {
|
|
33
|
-
headers: {
|
|
34
|
-
Referer: 'https://music.163.com/',
|
|
35
|
-
},
|
|
36
|
-
form: {
|
|
37
|
-
radioId: id,
|
|
38
|
-
limit,
|
|
39
|
-
offset,
|
|
40
|
-
},
|
|
41
|
-
});
|
|
42
|
-
|
|
43
|
-
const response = await ProcessFeed(1, 0);
|
|
52
|
+
const response = await ProcessFeed(id, 1, 0);
|
|
44
53
|
|
|
45
54
|
const programs = response.data.programs || [];
|
|
46
55
|
const { radio, dj } = programs[0] || { radio: {}, dj: {} };
|
|
47
56
|
const count = response.data.count || 0;
|
|
48
57
|
|
|
49
|
-
const countPage =
|
|
50
|
-
for (let i = 0; i < Math.ceil(count / 500); i++) {
|
|
51
|
-
countPage.push(i);
|
|
52
|
-
}
|
|
58
|
+
const countPage = Array.from({ length: Math.ceil(count / 500) }, (_, i) => i);
|
|
53
59
|
|
|
54
60
|
const items = await Promise.all(
|
|
55
61
|
countPage.map(async (item) => {
|
|
56
|
-
const response = await ProcessFeed(500, item * 500);
|
|
62
|
+
const response = await ProcessFeed(id, 500, item * 500);
|
|
57
63
|
const programs = response.data.programs || [];
|
|
58
64
|
const list = programs.map((pg) => {
|
|
59
65
|
const description = (pg.description || '').split('\n').map((p) => p);
|
|
@@ -64,6 +70,7 @@ async function handler(ctx) {
|
|
|
64
70
|
pg,
|
|
65
71
|
description,
|
|
66
72
|
itunes_duration: mm_ss_duration,
|
|
73
|
+
info,
|
|
67
74
|
});
|
|
68
75
|
|
|
69
76
|
return {
|
|
@@ -98,13 +98,13 @@ export const route: Route = {
|
|
|
98
98
|
name: '排行榜',
|
|
99
99
|
maintainers: ['nczitzk'],
|
|
100
100
|
handler,
|
|
101
|
-
description: `:::tip
|
|
101
|
+
description: `::: tip
|
|
102
102
|
全站新闻 **点击榜** 的统计时间仅包含 “24 小时”、“本周”、“本月”,不包含 “1 小时”。即可用的\`time\`参数为\`day\`、\`week\`、\`month\`。
|
|
103
103
|
|
|
104
104
|
其他分类 **点击榜** 的统计时间仅包含 “1 小时”、“24 小时”、“本周”。即可用的\`time\`参数为\`hour\`、\`day\`、\`week\`。
|
|
105
105
|
|
|
106
106
|
而所有分类(包括全站)的 **跟贴榜** 的统计时间皆仅包含 “24 小时”、“本周”、“本月”。即可用的\`time\`参数为\`day\`、\`week\`、\`month\`。
|
|
107
|
-
|
|
107
|
+
:::
|
|
108
108
|
|
|
109
109
|
新闻分类:
|
|
110
110
|
|
|
@@ -4,8 +4,10 @@
|
|
|
4
4
|
<p>{{$value}}</p>
|
|
5
5
|
{{/each}}
|
|
6
6
|
</div>
|
|
7
|
+
{{ if info }}
|
|
7
8
|
<div>
|
|
8
9
|
<audio src="https://music.163.com/song/media/outer/url?id={{pg.mainTrackId}}.mp3" controls="controls"></audio>
|
|
9
10
|
<p>时长: {{itunes_duration}}</p>
|
|
10
11
|
<p><a href="https://music.163.com/program/{{pg.id}}">查看节目</a></p>
|
|
11
12
|
</div>
|
|
13
|
+
{{ /if }}
|
package/lib/routes/163/today.ts
CHANGED
|
@@ -28,9 +28,9 @@ export const route: Route = {
|
|
|
28
28
|
maintainers: ['nczitzk'],
|
|
29
29
|
handler,
|
|
30
30
|
url: 'wp.m.163.com/163/html/newsapp/todayFocus/index.html',
|
|
31
|
-
description: `:::tip
|
|
31
|
+
description: `::: tip
|
|
32
32
|
参数 **需要获取全文** 设置为 \`true\` \`yes\` \`t\` \`y\` 等值后,RSS 会携带该新闻条目的对应全文。
|
|
33
|
-
|
|
33
|
+
:::`,
|
|
34
34
|
};
|
|
35
35
|
|
|
36
36
|
async function handler(ctx) {
|
|
@@ -3,7 +3,7 @@ import type { Namespace } from '@/types';
|
|
|
3
3
|
export const namespace: Namespace = {
|
|
4
4
|
name: '禁漫天堂',
|
|
5
5
|
url: '18comic.org',
|
|
6
|
-
description: `:::tip
|
|
6
|
+
description: `::: tip
|
|
7
7
|
禁漫天堂有多个备用域名,本路由默认使用域名 \`https://jmcomic.me\`,若该域名无法访问,可以通过在路由最后加上 \`?domain=<域名>\` 指定路由访问的域名。如指定备用域名为 \`https://jmcomic1.me\`,则在所有禁漫天堂路由最后加上 \`?domain=jmcomic1.me\` 即可,此时路由为 [\`/18comic?domain=jmcomic1.me\`](https://rsshub.app/18comic?domain=jmcomic1.me)
|
|
8
8
|
:::`,
|
|
9
9
|
lang: 'zh-CN',
|
package/lib/routes/1lou/index.ts
CHANGED
|
@@ -114,7 +114,7 @@ export const route: Route = {
|
|
|
114
114
|
handler,
|
|
115
115
|
example: '/1lou/forum-2-1',
|
|
116
116
|
parameters: { params: '路径参数,可以在对应页面的 URL 中找到' },
|
|
117
|
-
description: `:::tip
|
|
117
|
+
description: `::: tip
|
|
118
118
|
\`1lou.me/\` 后的内容填入 params 参数,以下是几个例子:
|
|
119
119
|
|
|
120
120
|
若订阅 [大陆电视剧](https://www.1lou.me/forum-2-1.htm?tagids=0_97_0_0),网址为 \`https://www.1lou.me/forum-2-1.htm?tagids=0_97_0_0\`。截取 \`https://www.1lou.me/\` 到末尾 \`.htm\` 的部分 \`forum-2-1\` 作为参数,并补充 \`tagids\`,此时路由为 [\`/1lou/forum-2-1?tagids=0_97_0_0\`](https://rsshub.app/1lou/forum-2-1?tagids=0_97_0_0)。
|
|
@@ -122,7 +122,7 @@ export const route: Route = {
|
|
|
122
122
|
若订阅 [最新发帖电视剧](https://www.1lou.me/forum-2-1.htm?orderby=tid&digest=0),网址为 \`https://www.1lou.me/forum-2-1.htm?orderby=tid&digest=0\`。截取 \`https://www.1lou.me/\` 到末尾 \`.htm\` 的部分 \`forum-2-1\` 作为参数,并补充 \`orderby\`,此时路由为 [\`/1lou/forum-2-1?orderby=tid\`](https://rsshub.app/1lou/forum-2-1?orderby=tid)。
|
|
123
123
|
|
|
124
124
|
若订阅 [搜素繁花主题贴](https://www.1lou.me/search-_E7_B9_81_E8_8A_B1-1.htm),网址为 \`https://www.1lou.me/search-_E7_B9_81_E8_8A_B1-1.htm\`。截取 \`https://www.1lou.me/\` 到末尾 \`.htm\` 的部分 \`search-_E7_B9_81_E8_8A_B1-1\` 作为参数,此时路由为 [\`/1lou/search-_E7_B9_81_E8_8A_B1-1\`](https://rsshub.app/1lou/search-_E7_B9_81_E8_8A_B1-1)。
|
|
125
|
-
|
|
125
|
+
:::`,
|
|
126
126
|
categories: ['multimedia'],
|
|
127
127
|
|
|
128
128
|
features: {
|
|
@@ -30,14 +30,14 @@ export const route: Route = {
|
|
|
30
30
|
maintainers: ['EthanWng97'],
|
|
31
31
|
handler,
|
|
32
32
|
url: 'offer.1point3acres.com/',
|
|
33
|
-
description: `:::tip 三个 id 获取方式
|
|
33
|
+
description: `::: tip 三个 id 获取方式
|
|
34
34
|
1. 打开 [https://offer.1point3acres.com](https://offer.1point3acres.com)
|
|
35
35
|
2. 打开控制台
|
|
36
36
|
3. 切换到 Network 面板
|
|
37
37
|
4. 点击 搜索 按钮
|
|
38
38
|
5. 点击 results?ps=15\&pg=1 POST 请求
|
|
39
39
|
6. 找到 Request Payload 请求参数,例如 \`filters: {planyr: "13", planmajor: "1", outname_w: "ACADIAU"}\` ,则三个 id 分别为: 13,1,ACADIAU
|
|
40
|
-
|
|
40
|
+
:::`,
|
|
41
41
|
};
|
|
42
42
|
|
|
43
43
|
async function handler(ctx) {
|
|
@@ -126,9 +126,9 @@ export const route: Route = {
|
|
|
126
126
|
handler,
|
|
127
127
|
example: '/423down',
|
|
128
128
|
parameters: { category: '分类,默认为首页,可在对应分类页 URL 中找到' },
|
|
129
|
-
description: `:::tip
|
|
129
|
+
description: `::: tip
|
|
130
130
|
若订阅 [Android - 423Down](https://www.423down.com/apk),网址为 \`https://www.423down.com/apk\`。截取 \`https://www.423down.com/\` 到末尾的部分 \`apk\` 作为参数填入,此时路由为 [\`/423down/apk\`](https://rsshub.app/423down/apk)。
|
|
131
|
-
|
|
131
|
+
:::
|
|
132
132
|
|
|
133
133
|
#### [安卓软件](https://www.423down.com/apk)
|
|
134
134
|
|
package/lib/routes/4ksj/forum.ts
CHANGED
|
@@ -19,11 +19,11 @@ export const route: Route = {
|
|
|
19
19
|
handler,
|
|
20
20
|
example: '/4ksj/4k-uhd-1',
|
|
21
21
|
parameters: { id: '分类 id,默认为最新4K电影' },
|
|
22
|
-
description: `:::tip
|
|
22
|
+
description: `::: tip
|
|
23
23
|
若订阅 [最新 4K 电影](https://www.4ksj.com/4k-uhd-1.html),网址为 \`https://www.4ksj.com/4k-uhd-1.html\`。截取 \`https://www.4ksj.com/\` 到末尾 \`.html\` 的部分 \`4k-uhd-1\` 作为参数,此时路由为 [\`/4ksj/4k-uhd-1\`](https://rsshub.app/4ksj/4k-uhd-1)。
|
|
24
24
|
|
|
25
25
|
若订阅子分类 [Dolby Vision 动作 4K 电影](https://www.4ksj.com/4k-uhd-s7-display-3-dytypes-1-1.html),网址为 \`https://www.4ksj.com/4k-uhd-s7-display-3-dytypes-1-1.html\`。截取 \`https://www.4ksj.com/forum-\` 到末尾 \`.html\` 的部分 \`4kdianying-s7-dianyingbiaozhun-3-dytypes-9-1\` 作为参数,此时路由为 [\`/4ksj/4k-uhd-s7-display-3-dytypes-1-1\`](https://rsshub.app/4ksj/4k-uhd-s7-display-3-dytypes-1-1)。
|
|
26
|
-
|
|
26
|
+
:::`,
|
|
27
27
|
categories: ['multimedia'],
|
|
28
28
|
};
|
|
29
29
|
|
|
@@ -31,9 +31,9 @@ export const route: Route = {
|
|
|
31
31
|
|
|
32
32
|
访问 “邱毅看平潭” 专题,会跳转到 \`https://www.52hrtt.com/global/n/w/symposium/F1626082387819\`。其中 \`F1626082387819\` 即为 **专题 id** 对应的地区代码。
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
::: tip
|
|
35
35
|
更多的专题可以点击 [这里](https://www.52hrtt.com/global/n/w/symposium)
|
|
36
|
-
|
|
36
|
+
:::`,
|
|
37
37
|
};
|
|
38
38
|
|
|
39
39
|
async function handler(ctx) {
|
package/lib/routes/591/list.ts
CHANGED
|
@@ -124,9 +124,9 @@ export const route: Route = {
|
|
|
124
124
|
name: 'Rental house',
|
|
125
125
|
maintainers: ['Yukaii'],
|
|
126
126
|
handler,
|
|
127
|
-
description: `:::tip
|
|
127
|
+
description: `::: tip
|
|
128
128
|
Copy the URL of the 591 filter housing page and remove the front part \`https://rent.591.com.tw/?\`, you will get the query parameters.
|
|
129
|
-
|
|
129
|
+
:::`,
|
|
130
130
|
};
|
|
131
131
|
|
|
132
132
|
async function handler(ctx) {
|
package/lib/routes/78dm/index.ts
CHANGED
|
@@ -142,11 +142,11 @@ export const route: Route = {
|
|
|
142
142
|
handler,
|
|
143
143
|
example: '/78dm/news',
|
|
144
144
|
parameters: { category: '分类,默认为 `news`,即新品速递,可在对应分类页 URL 中找到' },
|
|
145
|
-
description: `:::tip
|
|
145
|
+
description: `::: tip
|
|
146
146
|
若订阅 [新品速递](https://www.78dm.net/news),网址为 \`https://www.78dm.net/news\`。截取 \`https://www.78dm.net/\` 到末尾的部分 \`news\` 作为参数填入,此时路由为 [\`/78dm/news\`](https://rsshub.app/78dm/news)。
|
|
147
147
|
|
|
148
148
|
若订阅 [精彩评测 - 变形金刚](https://www.78dm.net/eval_list/109/0/0/1.html),网址为 \`https://www.78dm.net/eval_list/109/0/0/1.html\`。截取 \`https://www.78dm.net/\` 到末尾 \`.html\` 的部分 \`eval_list/109/0/0/1\` 作为参数填入,此时路由为 [\`/78dm/eval_list/109/0/0/1\`](https://rsshub.app/78dm/eval_list/109/0/0/1)。
|
|
149
|
-
|
|
149
|
+
:::
|
|
150
150
|
|
|
151
151
|
<details>
|
|
152
152
|
<summary>更多分类</summary>
|
|
@@ -80,9 +80,9 @@ export const route: Route = {
|
|
|
80
80
|
handler,
|
|
81
81
|
example: '/81/81rc/sy/gzdt_210283',
|
|
82
82
|
parameters: { category: '分类,默认为 `sy/gzdt_210283`,即工作动态,可在对应分类页 URL 中找到' },
|
|
83
|
-
description: `:::tip
|
|
83
|
+
description: `::: tip
|
|
84
84
|
若订阅 [工作动态](https://81rc.81.cn/sy/gzdt_210283),网址为 \`https://81rc.81.cn/sy/gzdt_210283\`。截取 \`https://81rc.81.cn/\` 到末尾的部分 \`sy/gzdt_210283\` 作为参数填入,此时路由为 [\`/81/81rc/sy/gzdt_210283\`](https://rsshub.app/81/81rc/sy/gzdt_210283)。
|
|
85
|
-
|
|
85
|
+
:::
|
|
86
86
|
`,
|
|
87
87
|
categories: ['government'],
|
|
88
88
|
|
|
@@ -3,7 +3,7 @@ import type { Namespace } from '@/types';
|
|
|
3
3
|
export const namespace: Namespace = {
|
|
4
4
|
name: '91porn',
|
|
5
5
|
url: '91porn.com',
|
|
6
|
-
description: `:::tip
|
|
6
|
+
description: `::: tip
|
|
7
7
|
91porn has multiple backup domains, routes use the permanent domain \`https://91porn.com\` by default. If the domain is not accessible, you can add \`?domain=<domain>\` to specify the domain to be used. If you want to specify the backup domain to \`https://0122.91p30.com\`, you can add \`?domain=0122.91p30.com\` to the end of all 91porn routes, then the route will become [\`/91porn?domain=0122.91p30.com\`](https://rsshub.app/91porn?domain=0122.91p30.com)
|
|
8
8
|
:::`,
|
|
9
9
|
lang: 'zh-CN',
|
package/lib/routes/a9vg/index.ts
CHANGED
|
@@ -129,9 +129,9 @@ export const route: Route = {
|
|
|
129
129
|
handler,
|
|
130
130
|
example: '/a9vg/news',
|
|
131
131
|
parameters: { category: '分类,默认为 ,可在对应分类页 URL 中找到, Category, by default' },
|
|
132
|
-
description: `:::tip
|
|
132
|
+
description: `::: tip
|
|
133
133
|
若订阅 [PS4](http://www.a9vg.com/list/news/PS4),网址为 \`http://www.a9vg.com/list/news/PS4\`。截取 \`http://www.a9vg.com/list\` 到末尾的部分 \`news/PS4\` 作为参数填入,此时路由为 [\`/a9vg/news/PS4\`](https://rsshub.app/a9vg/news/PS4)。
|
|
134
|
-
|
|
134
|
+
:::
|
|
135
135
|
|
|
136
136
|
| 分类 | ID |
|
|
137
137
|
| -------------------------------------------------- | ------------------------------------------------------ |
|
|
@@ -30,13 +30,13 @@ export const route: Route = {
|
|
|
30
30
|
| ------------ | ----------- | ---------- | -------- | -------- | -------- |
|
|
31
31
|
| breakingnews | weeklytopic | culture | press | case | special |
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
::: tip
|
|
34
34
|
除了直接订阅分类全部文章(如 [每週專題](https://aamacau.com/topics/weeklytopic) 的对应路由为 [/aamacau/weeklytopic](https://rsshub.app/aamacau/weeklytopic)),你也可以订阅特定的专题,如 [【9-12】2021 澳門立法會選舉](https://aamacau.com/topics/【9-12】2021澳門立法會選舉) 的对应路由为 [/【9-12】2021 澳門立法會選舉](https://rsshub.app/aamacau/【9-12】2021澳門立法會選舉)。
|
|
35
35
|
|
|
36
36
|
分类中的专题也可以单独订阅,如 [新聞事件](https://aamacau.com/topics/case) 中的 [「武漢肺炎」新聞檔案](https://aamacau.com/topics/case/「武漢肺炎」新聞檔案) 对应路由为 [/case/「武漢肺炎」新聞檔案](https://rsshub.app/aamacau/case/「武漢肺炎」新聞檔案)。
|
|
37
37
|
|
|
38
38
|
同理,其他分类同上例子也可以订阅特定的单独专题。
|
|
39
|
-
|
|
39
|
+
:::`,
|
|
40
40
|
};
|
|
41
41
|
|
|
42
42
|
async function handler(ctx) {
|
package/lib/routes/abc/index.ts
CHANGED
|
@@ -24,13 +24,13 @@ export const route: Route = {
|
|
|
24
24
|
name: 'Channel & Topic',
|
|
25
25
|
categories: ['traditional-media'],
|
|
26
26
|
description: `
|
|
27
|
-
|
|
27
|
+
::: tip
|
|
28
28
|
All Topics in [Topic Library](https://abc.net.au/news/topics) are supported, you can fill in the field after \`topic\` in its URL, or fill in the \`documentId\`.
|
|
29
29
|
|
|
30
30
|
For example, the URL for [Computer Science](https://www.abc.net.au/news/topic/computer-science) is \`https://www.abc.net.au/news/topic/computer-science\`, the \`category\` is \`news/topic/computer-science\`, and the \`documentId\` of the Topic is \`2302\`, so the route is [/abc/news/topic/computer-science](https://rsshub.app/abc/news/topic/computer-science) and [/abc/2302](https://rsshub.app/abc/2302).
|
|
31
31
|
|
|
32
32
|
The supported channels are all listed in the table below. For other channels, please find the \`documentId\` in the source code of the channel page and fill it in as above.
|
|
33
|
-
|
|
33
|
+
:::`,
|
|
34
34
|
maintainers: ['nczitzk', 'pseudoyu'],
|
|
35
35
|
handler,
|
|
36
36
|
};
|
|
@@ -123,9 +123,9 @@ export const route: Route = {
|
|
|
123
123
|
handler,
|
|
124
124
|
example: '/accessbriefing/latest/news',
|
|
125
125
|
parameters: { category: 'Category, Latest News by default' },
|
|
126
|
-
description: `:::tip
|
|
126
|
+
description: `::: tip
|
|
127
127
|
If you subscribe to [Latest News](https://www.accessbriefing.com/latest/news),where the URL is \`https://www.accessbriefing.com/latest/news\`, extract the part \`https://www.accessbriefing.com/\` to the end, and use it as the parameter to fill in. Therefore, the route will be [\`/accessbriefing/latest/news\`](https://rsshub.app/accessbriefing/latest/news).
|
|
128
|
-
|
|
128
|
+
:::
|
|
129
129
|
|
|
130
130
|
#### Latest
|
|
131
131
|
|
|
@@ -32,9 +32,9 @@ export const route: Route = {
|
|
|
32
32
|
handler,
|
|
33
33
|
description: `The URL of the journal [American Economic Review](https://www.aeaweb.org/journals/aer) is \`https://www.aeaweb.org/journals/aer\`, where \`aer\` is the id of the journal, so the route for this journal is \`/aeaweb/aer\`.
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
::: tip
|
|
36
36
|
More jounals can be found in [AEA Journals](https://www.aeaweb.org/journals).
|
|
37
|
-
|
|
37
|
+
:::`,
|
|
38
38
|
};
|
|
39
39
|
|
|
40
40
|
async function handler(ctx) {
|
package/lib/routes/agri/index.ts
CHANGED
|
@@ -111,9 +111,9 @@ export const route: Route = {
|
|
|
111
111
|
handler,
|
|
112
112
|
example: '/agri/zx/zxfb',
|
|
113
113
|
parameters: { category: '分类,默认为 `zx/zxfb`,即最新发布,可在对应分类页 URL 中找到' },
|
|
114
|
-
description: `:::tip
|
|
114
|
+
description: `::: tip
|
|
115
115
|
若订阅 [最新发布](http://www.agri.cn/zx/zxfb/),网址为 \`http://www.agri.cn/zx/zxfb/\`。截取 \`https://www.agri.cn/\` 到末尾的部分 \`zx/zxfb\` 作为参数填入,此时路由为 [\`/agri/zx/zxfb\`](https://rsshub.app/agri/zx/zxfb)。
|
|
116
|
-
|
|
116
|
+
:::
|
|
117
117
|
|
|
118
118
|
#### [机构](http://www.agri.cn/jg/)
|
|
119
119
|
|
|
@@ -86,9 +86,9 @@ export const route: Route = {
|
|
|
86
86
|
handler,
|
|
87
87
|
example: '/aibase/discover',
|
|
88
88
|
parameters: { id: '发现分类,默认为空,即全部产品,可在对应发现分类页 URL 中找到' },
|
|
89
|
-
description: `:::tip
|
|
89
|
+
description: `::: tip
|
|
90
90
|
若订阅 [图片背景移除](https://top.aibase.com/discover/37-49),网址为 \`https://top.aibase.com/discover/37-49\`。截取 \`https://top.aibase.com/discover/\` 到末尾的部分 \`37-49\` 作为参数填入,此时路由为 [\`/aibase/discover/37-49\`](https://rsshub.app/aibase/discover/37-49)。
|
|
91
|
-
|
|
91
|
+
:::
|
|
92
92
|
|
|
93
93
|
<details>
|
|
94
94
|
<summary>更多分类</summary>
|
|
@@ -56,13 +56,13 @@ export const route: Route = {
|
|
|
56
56
|
handler,
|
|
57
57
|
example: '/aibase/topic',
|
|
58
58
|
parameters: { id: '标签,默认为空,即全部产品,可在对应标签页 URL 中找到', filter: '过滤器,默认为 `id` 即最新,可选 `pv` 即热门' },
|
|
59
|
-
description: `:::tip
|
|
59
|
+
description: `::: tip
|
|
60
60
|
若订阅 [AI](https://top.aibase.com/topic/AI),网址为 \`https://top.aibase.com/topic/AI\`。截取 \`https://top.aibase.com/topic\` 到末尾的部分 \`AI\` 作为参数填入,此时路由为 [\`/aibase/topic/AI\`](https://rsshub.app/aibase/topic/AI)。
|
|
61
|
-
|
|
61
|
+
:::
|
|
62
62
|
|
|
63
|
-
|
|
63
|
+
::: tip
|
|
64
64
|
此处查看 [全部标签](https://top.aibase.com/topic)
|
|
65
|
-
|
|
65
|
+
:::
|
|
66
66
|
|
|
67
67
|
<details>
|
|
68
68
|
<summary>更多标签</summary>
|
|
@@ -26,9 +26,9 @@ export const route: Route = {
|
|
|
26
26
|
handler,
|
|
27
27
|
description: `Refer to the URL format \`pubs.aip.org/:pub/:jrn\`
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
::: tip
|
|
30
30
|
More jounals can be found in [AIP Publications](https://publishing.aip.org/publications/find-the-right-journal).
|
|
31
|
-
|
|
31
|
+
:::`,
|
|
32
32
|
};
|
|
33
33
|
|
|
34
34
|
async function handler(ctx) {
|
|
@@ -184,7 +184,7 @@ export const route: Route = {
|
|
|
184
184
|
parameters: {
|
|
185
185
|
category: '分类,默认为 `new`,即最新资讯,可在对应分类页 URL 中找到',
|
|
186
186
|
},
|
|
187
|
-
description: `:::tip
|
|
187
|
+
description: `::: tip
|
|
188
188
|
若订阅 [游戏资讯](https://www.ali213.net/news/game/),网址为 \`https://www.ali213.net/news/game/\`,请截取 \`https://www.ali213.net/news/\` 到末尾 \`/\` 的部分 \`game\` 作为 \`category\` 参数填入,此时目标路由为 [\`/ali213/news/game\`](https://rsshub.app/ali213/news/game)。
|
|
189
189
|
:::
|
|
190
190
|
|