rsshub 1.0.0-master.dc19fc2 → 1.0.0-master.dc4c5c8
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/README.md +4 -4
- package/lib/api/index.ts +31 -0
- package/lib/api/namespace/all.ts +17 -0
- package/lib/api/namespace/one.ts +33 -0
- package/lib/api/radar/rules/all.ts +59 -0
- package/lib/api/radar/rules/one.ts +75 -0
- package/lib/{app.ts → app.tsx} +13 -2
- package/lib/config.test.ts +0 -6
- package/lib/config.ts +50 -12
- package/lib/errors/index.test.ts +23 -7
- package/lib/errors/index.tsx +30 -35
- package/lib/errors/types/config-not-found.ts +5 -0
- package/lib/errors/types/invalid-parameter.ts +5 -0
- package/lib/errors/types/not-found.ts +5 -0
- package/lib/errors/types/reject.ts +5 -0
- package/lib/errors/types/request-in-progress.ts +5 -0
- package/lib/index.ts +1 -1
- package/lib/middleware/access-control.ts +1 -1
- package/lib/middleware/cache.test.ts +54 -53
- package/lib/middleware/cache.ts +1 -1
- package/lib/middleware/parameter.test.ts +8 -24
- package/lib/middleware/parameter.ts +7 -8
- package/lib/middleware/{template.ts → template.tsx} +22 -11
- package/lib/registry.test.ts +2 -57
- package/lib/registry.ts +31 -43
- package/lib/router.js +12 -40
- package/lib/routes/005/index.ts +156 -0
- package/lib/routes/005/namespace.ts +8 -0
- package/lib/routes/005/templates/description.art +27 -0
- package/lib/routes/0x80/index.ts +87 -0
- package/lib/routes/0x80/namespace.ts +7 -0
- package/lib/routes/12306/index.ts +3 -2
- package/lib/routes/12306/zxdt.ts +6 -4
- package/lib/routes/12371/namespace.ts +7 -0
- package/lib/routes/12371/zxfb.ts +64 -0
- package/lib/routes/141jav/index.ts +38 -4
- package/lib/routes/141ppv/index.ts +38 -4
- package/lib/routes/163/ds.ts +6 -4
- package/lib/routes/163/dy.ts +1 -2
- package/lib/routes/163/dy2.ts +7 -11
- package/lib/routes/163/exclusive.ts +6 -4
- package/lib/routes/163/music/artist-songs.ts +1 -1
- package/lib/routes/163/music/artist.ts +1 -1
- package/lib/routes/163/music/djradio.ts +1 -1
- package/lib/routes/163/music/playlist.ts +9 -10
- package/lib/routes/163/music/userevents.ts +3 -2
- package/lib/routes/163/music/userplaylist.ts +1 -1
- package/lib/routes/163/music/userplayrecords.ts +8 -2
- package/lib/routes/163/news/rank.ts +3 -2
- package/lib/routes/163/news/special.ts +2 -1
- package/lib/routes/163/open/vip.ts +6 -4
- package/lib/routes/163/renjian.ts +5 -3
- package/lib/routes/163/today.ts +6 -4
- package/lib/routes/163/utils.ts +5 -6
- package/lib/routes/18comic/album.ts +5 -3
- package/lib/routes/18comic/blogs.ts +5 -3
- package/lib/routes/18comic/index.ts +6 -4
- package/lib/routes/18comic/search.ts +7 -5
- package/lib/routes/18comic/templates/description.art +8 -0
- package/lib/routes/18comic/utils.ts +6 -2
- package/lib/routes/19lou/index.ts +2 -1
- package/lib/routes/1lou/index.ts +118 -57
- package/lib/routes/1lou/namespace.ts +2 -0
- package/lib/routes/1point3acres/blog.ts +5 -3
- package/lib/routes/1point3acres/category.ts +5 -3
- package/lib/routes/1point3acres/offer.ts +8 -6
- package/lib/routes/1point3acres/section.ts +5 -3
- package/lib/routes/1point3acres/thread.ts +2 -1
- package/lib/routes/1point3acres/user/post.ts +5 -3
- package/lib/routes/1point3acres/user/thread.ts +5 -3
- package/lib/routes/1point3acres/utils.ts +1 -1
- package/lib/routes/1x/index.ts +121 -0
- package/lib/routes/1x/namespace.ts +8 -0
- package/lib/routes/1x/templates/description.art +17 -0
- package/lib/routes/2023game/index.ts +69 -0
- package/lib/routes/{zhangyoubao → 2023game}/namespace.ts +2 -2
- package/lib/routes/2048/index.ts +1 -1
- package/lib/routes/36kr/hot-list.ts +6 -4
- package/lib/routes/36kr/index.ts +13 -3
- package/lib/routes/3dmgame/game.ts +9 -6
- package/lib/routes/3dmgame/news-center.ts +7 -5
- package/lib/routes/3kns/index.ts +121 -0
- package/lib/routes/3kns/namespace.ts +6 -0
- package/lib/routes/3kns/templates/description.art +9 -0
- package/lib/routes/4gamers/category.ts +6 -5
- package/lib/routes/4gamers/tag.ts +5 -3
- package/lib/routes/4gamers/topic.ts +5 -3
- package/lib/routes/4gamers/utils.ts +3 -2
- package/lib/routes/4ksj/forum.ts +130 -77
- package/lib/routes/4ksj/templates/description.art +49 -46
- package/lib/routes/500px/tribe-set.ts +3 -12
- package/lib/routes/500px/utils.ts +23 -22
- package/lib/routes/50forum/zhuanjia.ts +6 -4
- package/lib/routes/51cto/namespace.ts +6 -0
- package/lib/routes/51cto/recommend.ts +52 -0
- package/lib/routes/51cto/utils.ts +21 -0
- package/lib/routes/52hrtt/symposium.ts +6 -4
- package/lib/routes/56kog/class.ts +1 -1
- package/lib/routes/56kog/top.ts +1 -1
- package/lib/routes/56kog/util.ts +1 -1
- package/lib/routes/591/list.ts +7 -6
- package/lib/routes/5eplay/index.ts +5 -3
- package/lib/routes/6park/index.ts +6 -4
- package/lib/routes/6park/news.ts +6 -4
- package/lib/routes/6v123/latest-movies.ts +5 -3
- package/lib/routes/6v123/latest-tvseries.ts +5 -3
- package/lib/routes/78dm/index.ts +1 -1
- package/lib/routes/7mmtv/index.ts +1 -1
- package/lib/routes/8264/list.ts +1 -1
- package/lib/routes/8kcos/cat.ts +6 -4
- package/lib/routes/8kcos/latest.ts +6 -4
- package/lib/routes/8kcos/tag.ts +5 -3
- package/lib/routes/91porn/author.ts +7 -5
- package/lib/routes/91porn/index.ts +7 -5
- package/lib/routes/91porn/utils.ts +2 -1
- package/lib/routes/95mm/category.ts +6 -4
- package/lib/routes/95mm/tab.ts +6 -4
- package/lib/routes/95mm/tag.ts +6 -4
- package/lib/routes/95mm/utils.ts +1 -1
- package/lib/routes/a9vg/a9vg.ts +6 -4
- package/lib/routes/aamacau/index.ts +5 -3
- package/lib/routes/abc/index.ts +20 -6
- package/lib/routes/abmedia/category.ts +6 -4
- package/lib/routes/abmedia/index.ts +5 -3
- package/lib/routes/abskoop/index.ts +7 -5
- package/lib/routes/abskoop/nsfw.ts +8 -6
- package/lib/routes/accessbriefing/index.ts +217 -0
- package/lib/routes/accessbriefing/namespace.ts +8 -0
- package/lib/routes/accessbriefing/templates/description.art +27 -0
- package/lib/routes/acfun/article.ts +4 -3
- package/lib/routes/acfun/video.ts +10 -4
- package/lib/routes/acg17/post.ts +5 -3
- package/lib/routes/acs/journal.ts +6 -4
- package/lib/routes/aeaweb/index.ts +6 -4
- package/lib/routes/aeon/category.ts +5 -4
- package/lib/routes/aeon/type.ts +5 -4
- package/lib/routes/aeon/utils.ts +5 -2
- package/lib/{routes-deprecated/afdian/dynamic.js → routes/afdian/dynamic.ts} +16 -5
- package/lib/{routes-deprecated/afdian/explore.js → routes/afdian/explore.ts} +26 -5
- package/lib/routes/afdian/namespace.ts +6 -0
- package/lib/routes/agefans/detail.ts +5 -3
- package/lib/routes/agefans/update.ts +5 -3
- package/lib/routes/agirls/index.ts +6 -4
- package/lib/routes/agirls/topic-list.ts +5 -3
- package/lib/routes/agirls/topic.ts +5 -3
- package/lib/routes/agora0/index.ts +6 -4
- package/lib/routes/agora0/pen0.ts +5 -3
- package/lib/routes/ahjzu/news.ts +5 -3
- package/lib/routes/aicaijing/index.ts +1 -1
- package/lib/routes/aiea/index.ts +14 -17
- package/lib/routes/ainvest/article.ts +5 -3
- package/lib/routes/ainvest/news.ts +5 -3
- package/lib/routes/aip/journal-pupp.ts +4 -2
- package/lib/routes/aip/journal.ts +5 -3
- package/lib/routes/aip/utils.ts +1 -1
- package/lib/routes/airchina/index.ts +7 -5
- package/lib/routes/aisixiang/thinktank.ts +2 -1
- package/lib/routes/aliresearch/information.ts +6 -4
- package/lib/routes/alistapart/index.ts +6 -4
- package/lib/routes/alistapart/topic.ts +5 -3
- package/lib/routes/aliyun/database-month.ts +5 -3
- package/lib/routes/aliyun/developer/group.ts +5 -3
- package/lib/routes/aljazeera/index.ts +1 -1
- package/lib/routes/ally/rail.ts +5 -3
- package/lib/routes/alternativeto/platform.ts +6 -4
- package/lib/routes/alternativeto/software.ts +6 -4
- package/lib/routes/amazon/kindle-software-updates.ts +1 -1
- package/lib/routes/android/platform-tools-releases.ts +5 -3
- package/lib/routes/annualreviews/index.ts +5 -3
- package/lib/routes/anquanke/vul.ts +3 -1
- package/lib/routes/apnews/topics.ts +7 -5
- package/lib/routes/app-center/release.ts +6 -4
- package/lib/routes/apple/apps.ts +13 -13
- package/lib/routes/apple/exchange-repair.ts +6 -4
- package/lib/routes/apple/podcast.ts +64 -0
- package/lib/routes/appleinsider/index.ts +6 -4
- package/lib/routes/appstore/price.ts +5 -3
- package/lib/routes/appstore/xianmian.ts +5 -3
- package/lib/routes/appstorrent/namespace.ts +6 -0
- package/lib/routes/appstorrent/programs.ts +91 -0
- package/lib/routes/appstorrent/templates/description.art +22 -0
- package/lib/routes/aqara/post.ts +1 -1
- package/lib/routes/aqicn/aqi.ts +82 -0
- package/lib/routes/aqicn/namespace.ts +6 -0
- package/lib/routes/arcteryx/new-arrivals.ts +6 -4
- package/lib/routes/arcteryx/outlet.ts +6 -4
- package/lib/routes/arcteryx/regear-new-arrivals.ts +6 -4
- package/lib/routes/arknights/japan.ts +5 -3
- package/lib/routes/arknights/news.ts +5 -3
- package/lib/routes/artstation/user.ts +6 -4
- package/lib/routes/asiantolick/index.ts +7 -5
- package/lib/routes/asus/bios.ts +6 -4
- package/lib/routes/asus/gpu-tweak.ts +5 -3
- package/lib/routes/atptour/namespace.ts +7 -0
- package/lib/routes/atptour/news.ts +52 -0
- package/lib/routes/baai/comments.ts +5 -3
- package/lib/routes/baai/events.ts +5 -3
- package/lib/routes/backlinko/blog.ts +5 -3
- package/lib/routes/baidu/gushitong/index.ts +6 -4
- package/lib/routes/baidu/search.ts +1 -1
- package/lib/routes/baidu/tieba/forum.ts +1 -1
- package/lib/routes/baidu/tieba/post.ts +6 -4
- package/lib/routes/baidu/tieba/search.ts +3 -3
- package/lib/routes/baidu/top.ts +1 -1
- package/lib/routes/bandcamp/live.ts +5 -3
- package/lib/routes/bandcamp/tag.ts +6 -4
- package/lib/routes/bandcamp/weekly.ts +6 -4
- package/lib/routes/bangumi/moe/index.ts +6 -4
- package/lib/routes/bangumi/online/online.ts +7 -5
- package/lib/routes/bangumi/tv/calendar/_base.ts +2 -1
- package/lib/routes/bangumi/tv/calendar/today.ts +6 -4
- package/lib/routes/bangumi/tv/group/reply.ts +5 -3
- package/lib/routes/bangumi/tv/group/topic.ts +5 -3
- package/lib/routes/bangumi/tv/other/followrank.ts +5 -3
- package/lib/routes/bangumi/tv/person/index.ts +5 -3
- package/lib/routes/bangumi/tv/subject/comments.ts +2 -1
- package/lib/routes/bangumi/tv/subject/ep.ts +3 -2
- package/lib/routes/bangumi/tv/subject/index.ts +9 -6
- package/lib/routes/bangumi/tv/subject/offcial-subject-api.ts +2 -1
- package/lib/routes/bangumi/tv/user/blog.ts +5 -3
- package/lib/routes/bangumi/tv/user/wish.ts +5 -3
- package/lib/routes/baozimh/index.ts +9 -5
- package/lib/routes/barronschina/index.ts +6 -4
- package/lib/routes/bbc/index.ts +17 -9
- package/lib/routes/bbcnewslabs/news.ts +5 -3
- package/lib/routes/bdys/index.ts +3 -2
- package/lib/routes/bellroy/new-releases.ts +5 -3
- package/lib/routes/bendibao/news.ts +7 -4
- package/lib/routes/bgmlist/onair.ts +1 -1
- package/lib/routes/bigquant/collections.ts +5 -3
- package/lib/routes/bilibili/api-interface.d.ts +484 -0
- package/lib/routes/bilibili/article.ts +5 -3
- package/lib/routes/bilibili/bangumi.ts +7 -2
- package/lib/routes/bilibili/cache.ts +24 -38
- package/lib/routes/bilibili/coin.ts +6 -4
- package/lib/routes/bilibili/dynamic.ts +270 -198
- package/lib/routes/bilibili/followers.ts +9 -6
- package/lib/routes/bilibili/followings-article.ts +3 -2
- package/lib/routes/bilibili/followings-dynamic.ts +3 -2
- package/lib/routes/bilibili/followings-video.ts +3 -2
- package/lib/routes/bilibili/followings.ts +11 -7
- package/lib/routes/bilibili/hot-search.ts +5 -3
- package/lib/routes/bilibili/like.ts +6 -4
- package/lib/routes/bilibili/live-room.ts +5 -3
- package/lib/routes/bilibili/manga-followings.ts +3 -2
- package/lib/routes/bilibili/manga-update.ts +5 -3
- package/lib/routes/bilibili/platform.ts +5 -3
- package/lib/routes/bilibili/ranking.ts +12 -1
- package/lib/routes/bilibili/user-bangumi.ts +6 -4
- package/lib/routes/bilibili/user-channel.ts +2 -4
- package/lib/routes/bilibili/user-collection.ts +14 -6
- package/lib/routes/bilibili/user-fav.ts +6 -4
- package/lib/routes/bilibili/utils.ts +1 -1
- package/lib/routes/bilibili/video-all.ts +2 -1
- package/lib/routes/bilibili/video.ts +7 -5
- package/lib/routes/bilibili/vsearch.ts +27 -30
- package/lib/routes/bilibili/watchlater.ts +3 -2
- package/lib/routes/binance/launchpool.ts +46 -0
- package/lib/routes/binance/namespace.ts +6 -0
- package/lib/routes/bing/daily-wallpaper.ts +15 -12
- package/lib/routes/bing/search.ts +6 -4
- package/lib/routes/biodiscover/index.ts +6 -4
- package/lib/routes/bioone/featured.ts +5 -3
- package/lib/routes/bioone/journal.ts +6 -4
- package/lib/routes/biquge/index.ts +2 -1
- package/lib/routes/bit/cs/cs.ts +5 -3
- package/lib/routes/bit/jwc/jwc.ts +5 -3
- package/lib/routes/bit/rszhaopin.ts +5 -3
- package/lib/routes/bit/yjs.ts +5 -3
- package/lib/routes/bitbucket/commits.ts +5 -3
- package/lib/routes/bitmovin/blog.ts +5 -3
- package/lib/routes/bjfu/grs.ts +5 -3
- package/lib/routes/bjfu/it/index.ts +5 -3
- package/lib/routes/bjfu/jwc/index.ts +5 -3
- package/lib/routes/bjfu/kjc.ts +5 -3
- package/lib/routes/bjfu/namespace.ts +1 -1
- package/lib/routes/bjfu/news/index.ts +5 -3
- package/lib/routes/bjp/apod.ts +5 -3
- package/lib/routes/bjsk/keti.ts +6 -4
- package/lib/routes/bjx/huanbao.ts +5 -3
- package/lib/{routes-deprecated/blogread/newest.js → routes/blogread/index.ts} +22 -7
- package/lib/routes/blogread/namespace.ts +6 -0
- package/lib/routes/bloomberg/authors.ts +6 -4
- package/lib/routes/bloomberg/index.ts +32 -3
- package/lib/routes/bloomberg/utils.ts +34 -20
- package/lib/routes/bluestacks/release.ts +8 -6
- package/lib/routes/bmkg/earthquake.ts +5 -3
- package/lib/routes/bmkg/news.ts +5 -3
- package/lib/routes/bnu/bs.ts +6 -4
- package/lib/routes/bnu/dwxgb.ts +5 -3
- package/lib/routes/bnu/jwb.ts +56 -0
- package/lib/routes/bnu/lib.ts +6 -4
- package/lib/routes/boc/whpj.ts +6 -4
- package/lib/routes/booru/mmda.ts +65 -3
- package/lib/routes/booru/templates/description.art +25 -0
- package/lib/routes/brave/latest.ts +5 -3
- package/lib/routes/brooklynmuseum/exhibitions.ts +11 -14
- package/lib/routes/bse/index.ts +5 -3
- package/lib/routes/bsky/posts.ts +12 -10
- package/lib/routes/btzj/index.ts +8 -5
- package/lib/routes/buaa/sme.ts +33 -2
- package/lib/routes/bulianglin/{bulianglin.ts → rss.ts} +8 -5
- package/lib/routes/bupt/rczp.ts +5 -3
- package/lib/routes/byau/namespace.ts +6 -0
- package/lib/routes/byau/xinwen/index.ts +72 -0
- package/lib/routes/byteclicks/index.ts +6 -4
- package/lib/routes/byteclicks/tag.ts +5 -3
- package/lib/routes/bytes/bytes.ts +6 -4
- package/lib/routes/c114/roll.ts +5 -3
- package/lib/routes/caai/utils.ts +1 -1
- package/lib/routes/caareviews/book.ts +5 -3
- package/lib/routes/caareviews/essay.ts +5 -3
- package/lib/routes/caareviews/exhibition.ts +5 -3
- package/lib/routes/caareviews/utils.ts +1 -1
- package/lib/routes/cahkms/index.ts +6 -4
- package/lib/routes/caijing/roll.ts +5 -3
- package/lib/routes/caixin/article.ts +5 -3
- package/lib/routes/caixin/blog.ts +4 -3
- package/lib/routes/caixin/category.ts +2 -1
- package/lib/routes/caixin/database.ts +6 -4
- package/lib/routes/caixin/latest.ts +8 -6
- package/lib/routes/caixin/utils.ts +1 -1
- package/lib/routes/caixin/weekly.ts +5 -3
- package/lib/routes/caixinglobal/latest.ts +5 -3
- package/lib/routes/camchina/index.ts +5 -3
- package/lib/routes/cankaoxiaoxi/index.ts +1 -1
- package/lib/routes/cartoonmad/comic.ts +6 -4
- package/lib/routes/cas/cg/index.ts +5 -3
- package/lib/routes/cas/ia/yjs.ts +5 -3
- package/lib/routes/cas/iee/kydt.ts +5 -3
- package/lib/routes/cas/mesalab/kb.ts +8 -6
- package/lib/routes/cas/sim/kyjz.ts +5 -3
- package/lib/routes/cast/index.ts +6 -4
- package/lib/routes/cau/ele.ts +5 -3
- package/lib/routes/cau/yjs.ts +6 -4
- package/lib/routes/cbaigui/index.ts +1 -1
- package/lib/routes/cbc/topics.ts +6 -4
- package/lib/routes/cbirc/index.ts +5 -3
- package/lib/routes/cbnweek/index.ts +6 -4
- package/lib/routes/ccf/ccfcv/index.ts +1 -1
- package/lib/routes/ccf/news.ts +6 -4
- package/lib/routes/ccf/tfbd/index.ts +5 -3
- package/lib/routes/ccf/tfbd/utils.ts +1 -1
- package/lib/routes/ccnu/career.ts +5 -3
- package/lib/routes/ccnu/cs.ts +5 -3
- package/lib/routes/ccnu/wu.ts +5 -3
- package/lib/routes/ccnu/yjs.ts +5 -3
- package/lib/routes/ccreports/index.ts +5 -3
- package/lib/routes/cctv/category.ts +6 -4
- package/lib/routes/cctv/jx.ts +5 -3
- package/lib/routes/cctv/lm.ts +6 -4
- package/lib/routes/cctv/utils/mzzlbg.ts +2 -1
- package/lib/routes/cctv/utils/news.ts +3 -2
- package/lib/routes/cctv/utils/xinwen1j1.ts +2 -1
- package/lib/routes/cctv/xwlb.ts +5 -3
- package/lib/routes/cde/xxgk.ts +1 -1
- package/lib/routes/cdzjryb/project-list.ts +6 -4
- package/lib/routes/cebbank/all.ts +9 -8
- package/lib/routes/cebbank/history.ts +5 -8
- package/lib/routes/cfachina/analygarden.ts +5 -3
- package/lib/routes/cgtn/podcast.ts +5 -3
- package/lib/routes/chaincatcher/home.ts +7 -5
- package/lib/routes/chaincatcher/news.ts +5 -3
- package/lib/routes/changba/user.ts +6 -4
- package/lib/routes/chaoxing/qk.ts +1 -1
- package/lib/routes/chaping/banner.ts +5 -3
- package/lib/routes/chaping/newsflash.ts +5 -3
- package/lib/routes/china/finance/finance.ts +5 -3
- package/lib/routes/china/news/highlights/news.ts +5 -3
- package/lib/routes/china/news/military/news.ts +5 -3
- package/lib/routes/chinadegrees/province.ts +36 -2
- package/lib/routes/chinafactcheck/index.ts +6 -4
- package/lib/routes/chinanews/index.ts +6 -4
- package/lib/routes/chinaventure/index.ts +6 -4
- package/lib/routes/chsi/hotnews.ts +5 -3
- package/lib/routes/chsi/kydt.ts +5 -3
- package/lib/routes/chsi/kyzx.ts +5 -3
- package/lib/routes/chuanliu/nice.ts +6 -4
- package/lib/routes/cib/whpj.ts +6 -4
- package/lib/routes/civitai/discussions.ts +5 -3
- package/lib/routes/civitai/models.ts +5 -3
- package/lib/routes/ciweimao/chapter.ts +5 -3
- package/lib/routes/cls/depth.ts +3 -2
- package/lib/routes/cls/hot.ts +6 -4
- package/lib/routes/cls/telegraph.ts +7 -5
- package/lib/routes/cma/channel.ts +1 -1
- package/lib/routes/cmpxchg8b/articles.ts +5 -3
- package/lib/routes/cn-healthcare/index.ts +5 -3
- package/lib/routes/cna/web/index.ts +1 -1
- package/lib/routes/cnbc/rss.ts +6 -4
- package/lib/routes/cnbeta/type.ts +6 -4
- package/lib/routes/cnblogs/common.ts +5 -3
- package/lib/routes/cncf/reports.ts +5 -3
- package/lib/routes/cneb/yjxw.ts +5 -3
- package/lib/routes/cneb/yjxx.ts +6 -4
- package/lib/routes/cngal/entry.ts +7 -5
- package/lib/routes/cngal/weekly.ts +6 -4
- package/lib/routes/cnjxol/index.ts +3 -2
- package/lib/routes/cnki/author.ts +4 -1
- package/lib/routes/cnki/debut.ts +6 -4
- package/lib/routes/cnki/journals.ts +5 -3
- package/lib/routes/cnki/utils.ts +1 -1
- package/lib/routes/cntheory/paper.ts +1 -1
- package/lib/routes/cntv/column.ts +6 -4
- package/lib/routes/codeforces/contests.ts +6 -4
- package/lib/routes/codeforces/recent-actions.ts +6 -4
- package/lib/routes/coindesk/index.ts +5 -3
- package/lib/routes/comicskingdom/index.ts +8 -5
- package/lib/routes/consumer/index.ts +5 -3
- package/lib/routes/cool18/index.ts +5 -3
- package/lib/routes/coolapk/dyh.ts +2 -1
- package/lib/routes/coolapk/huati.ts +2 -1
- package/lib/routes/coolapk/user-dynamic.ts +3 -2
- package/lib/routes/coomer/artist.ts +6 -4
- package/lib/routes/coomer/posts.ts +6 -4
- package/lib/routes/coomer/utils.ts +2 -1
- package/lib/routes/copymanga/comic.ts +1 -1
- package/lib/routes/cpcaauto/index.ts +255 -0
- package/lib/routes/cpcaauto/namespace.ts +8 -0
- package/lib/routes/cpuid/news.ts +5 -3
- package/lib/routes/cqgas/tqtz.ts +5 -3
- package/lib/routes/creative-comic/book.ts +7 -5
- package/lib/routes/crossbell/notes/character.ts +6 -4
- package/lib/routes/crossbell/notes/index.ts +5 -3
- package/lib/routes/crossbell/notes/source.ts +6 -4
- package/lib/routes/cs/index.ts +50 -2
- package/lib/routes/cs/namespace.ts +1 -0
- package/lib/routes/cs/video.ts +3 -1
- package/lib/routes/csdn/blog.ts +5 -3
- package/lib/routes/csu/career.ts +5 -3
- package/lib/routes/cts/news.ts +5 -3
- package/lib/routes/cuc/yz.ts +5 -3
- package/lib/routes/curiouscat/user.ts +5 -3
- package/lib/routes/curius/links.ts +6 -4
- package/lib/routes/cw/author.ts +5 -3
- package/lib/routes/cw/today.ts +5 -3
- package/lib/routes/cyzone/author.ts +5 -3
- package/lib/routes/cyzone/index.ts +6 -4
- package/lib/routes/cyzone/label.ts +5 -3
- package/lib/routes/cztv/daily.ts +6 -4
- package/lib/routes/cztv/zjxwlb.ts +6 -4
- package/lib/routes/dahecube/index.ts +3 -7
- package/lib/routes/daily/discussed.ts +6 -4
- package/lib/routes/daily/index.ts +6 -4
- package/lib/routes/daily/upvoted.ts +6 -4
- package/lib/routes/damai/activity.ts +1 -1
- package/lib/routes/dapenti/subject.ts +1 -1
- package/lib/routes/dapenti/tugua.ts +2 -2
- package/lib/routes/darwinawards/index.ts +6 -4
- package/lib/routes/dayanzai/index.ts +6 -4
- package/lib/routes/dbaplus/namespace.ts +6 -0
- package/lib/routes/dbaplus/rss.ts +48 -0
- package/lib/routes/dblp/publication.ts +5 -3
- package/lib/routes/dcfever/news.ts +14 -19
- package/lib/routes/dcfever/reviews.ts +13 -19
- package/lib/routes/dcfever/trading-search.ts +11 -22
- package/lib/routes/dcfever/trading.ts +10 -21
- package/lib/routes/dcfever/utils.ts +11 -10
- package/lib/routes/ddosi/category.ts +6 -4
- package/lib/routes/ddosi/index.ts +6 -4
- package/lib/routes/deadline/posts.ts +7 -5
- package/lib/routes/dedao/knowledge.ts +6 -4
- package/lib/routes/dedao/list.ts +5 -3
- package/lib/routes/dedao/user.ts +1 -1
- package/lib/routes/deepin/homepage.ts +41 -0
- package/lib/routes/deepin/namespace.ts +9 -0
- package/lib/routes/deeplearning/thebatch.ts +5 -3
- package/lib/routes/deepmind/blog.ts +5 -3
- package/lib/routes/dehenglaw/index.ts +128 -0
- package/lib/routes/dehenglaw/namespace.ts +8 -0
- package/lib/routes/dehenglaw/templates/description.art +7 -0
- package/lib/routes/deltaio/blog.ts +5 -3
- package/lib/routes/devolverdigital/blog.ts +5 -3
- package/lib/routes/dhu/news/xsxx.ts +5 -3
- package/lib/routes/diandong/news.ts +6 -4
- package/lib/routes/diershoubing/news.ts +6 -4
- package/lib/routes/discord/channel.ts +8 -5
- package/lib/routes/discourse/notifications.ts +4 -4
- package/lib/routes/discourse/utils.ts +2 -1
- package/lib/routes/discuz/discuz.ts +4 -2
- package/lib/routes/disinfo/publications.ts +5 -3
- package/lib/routes/diskanalyzer/whats-new.ts +5 -3
- package/lib/routes/distill/index.ts +6 -4
- package/lib/routes/dlnews/category.ts +7 -5
- package/lib/routes/dlsite/campaign.ts +2 -1
- package/lib/routes/dlsite/ci-en/article.ts +5 -3
- package/lib/routes/dlsite/index.ts +1 -1
- package/lib/routes/dlsite/new.ts +2 -1
- package/lib/routes/dlsite/utils.ts +1 -1
- package/lib/routes/dmzj/news.ts +6 -4
- package/lib/routes/dn/news.ts +1 -1
- package/lib/routes/dnaindia/category.ts +6 -4
- package/lib/routes/docschina/weekly.ts +37 -19
- package/lib/routes/dol/announce.ts +3 -5
- package/lib/routes/domp4/detail.ts +5 -3
- package/lib/routes/domp4/latest.ts +5 -3
- package/lib/routes/domp4/utils.ts +2 -1
- package/lib/routes/dongqiudi/daily.ts +5 -12
- package/lib/routes/dongqiudi/player-news.ts +6 -8
- package/lib/routes/dongqiudi/result.ts +6 -8
- package/lib/routes/dongqiudi/special.ts +5 -11
- package/lib/routes/dongqiudi/team-news.ts +7 -9
- package/lib/routes/dongqiudi/top-news.ts +6 -4
- package/lib/routes/dora-world/article.ts +87 -0
- package/lib/routes/dora-world/namespace.ts +6 -0
- package/lib/routes/dorohedoro/news.ts +5 -3
- package/lib/routes/douban/book/latest.ts +65 -0
- package/lib/routes/douban/other/discussion.ts +5 -3
- package/lib/routes/douban/other/doulist.ts +1 -1
- package/lib/routes/douban/other/explore.ts +1 -1
- package/lib/routes/douban/other/group.ts +6 -4
- package/lib/routes/douban/other/latest-music.ts +1 -1
- package/lib/routes/douban/other/list.ts +7 -5
- package/lib/routes/douban/other/recommended.ts +1 -1
- package/lib/routes/douban/other/weekly-best.ts +1 -1
- package/lib/routes/douyin/hashtag.ts +8 -5
- package/lib/routes/douyin/live.ts +7 -4
- package/lib/routes/douyin/user.ts +8 -5
- package/lib/routes/douyin/utils.ts +1 -1
- package/lib/routes/douyu/group.ts +7 -5
- package/lib/routes/douyu/post.ts +6 -4
- package/lib/routes/douyu/room.ts +5 -3
- package/lib/routes/dribbble/keyword.ts +1 -1
- package/lib/routes/dribbble/popular.ts +7 -5
- package/lib/routes/dribbble/user.ts +6 -4
- package/lib/routes/dribbble/utils.ts +1 -1
- package/lib/routes/dtcj/datainsight.ts +6 -4
- package/lib/routes/duozhuayu/search.ts +6 -4
- package/lib/routes/dushu/fuzhou/index.ts +6 -4
- package/lib/routes/dut/index.ts +2 -1
- package/lib/routes/dxy/profile/thread.ts +5 -3
- package/lib/routes/e-hentai/index.ts +1 -1
- package/lib/routes/eagle/blog.ts +8 -5
- package/lib/routes/earthquake/ceic.ts +6 -4
- package/lib/routes/earthquake/index.ts +6 -4
- package/lib/routes/eastday/24.ts +6 -4
- package/lib/routes/eastday/portrait.ts +5 -3
- package/lib/routes/eastday/sh.ts +5 -3
- package/lib/routes/eastmoney/report/index.ts +5 -3
- package/lib/routes/ecnu/contest.ts +7 -5
- package/lib/routes/ecnu/yjs.ts +5 -3
- package/lib/routes/economist/espresso.ts +5 -3
- package/lib/routes/economist/full.ts +5 -3
- package/lib/routes/economist/global-business-review.ts +6 -4
- package/lib/routes/ecust/e/news.ts +5 -3
- package/lib/routes/ecust/gschool/yjs.ts +5 -3
- package/lib/routes/egsea/flash.ts +5 -3
- package/lib/routes/ehentai/ehapi.ts +1 -1
- package/lib/routes/ehentai/favorites.ts +13 -15
- package/lib/routes/ehentai/search.ts +11 -14
- package/lib/routes/ehentai/tag.ts +11 -14
- package/lib/routes/ekantipur/issue.ts +6 -4
- package/lib/routes/elasticsearch-cn/index.ts +6 -4
- package/lib/routes/eleduck/jobs.ts +5 -3
- package/lib/routes/elsevier/issue.ts +7 -5
- package/lib/routes/elsevier/journal.ts +7 -5
- package/lib/routes/epicgames/index.ts +7 -5
- package/lib/routes/eprice/rss.ts +6 -11
- package/lib/routes/esquirehk/namespace.ts +6 -0
- package/lib/routes/esquirehk/tag.ts +104 -0
- package/lib/routes/esquirehk/templates/subpages.art +30 -0
- package/lib/routes/europechinese/latest.ts +66 -0
- package/lib/routes/europechinese/namespace.ts +6 -0
- package/lib/routes/eventernote/actors.ts +5 -3
- package/lib/routes/f-droid/apprelease.ts +5 -3
- package/lib/routes/fansly/post.ts +5 -3
- package/lib/routes/fansly/tag.ts +5 -3
- package/lib/routes/fansly/utils.ts +3 -2
- package/lib/routes/fantia/user.ts +5 -3
- package/lib/routes/fanxinzhui/index.ts +127 -0
- package/lib/routes/fanxinzhui/namespace.ts +6 -0
- package/lib/routes/fanxinzhui/templates/description.art +13 -0
- package/lib/routes/farmatters/index.ts +7 -5
- package/lib/routes/fastbull/express-news.ts +5 -3
- package/lib/routes/fastbull/news.ts +6 -4
- package/lib/routes/fda/cdrh.ts +6 -4
- package/lib/routes/feng/forum.ts +7 -5
- package/lib/routes/ff14/ff14-global.ts +3 -2
- package/lib/routes/ff14/ff14-zh.ts +7 -5
- package/lib/routes/fffdm/manhua/manhua.ts +7 -5
- package/lib/routes/finology/bullets.ts +5 -3
- package/lib/routes/finology/most-viewed.ts +6 -4
- package/lib/routes/finology/tag.ts +6 -4
- package/lib/routes/finviz/news.ts +7 -4
- package/lib/routes/firefox/addons.ts +6 -4
- package/lib/routes/firefox/breaches.ts +5 -3
- package/lib/routes/fisher-spb/news.ts +6 -4
- package/lib/routes/fishshell/index.ts +6 -4
- package/lib/routes/fjksbm/index.ts +5 -3
- package/lib/routes/flyert/creditcard.ts +5 -3
- package/lib/routes/flyert/preferential.ts +5 -3
- package/lib/routes/focustaiwan/index.ts +1 -1
- package/lib/routes/followin/kol.ts +5 -3
- package/lib/routes/followin/news.ts +5 -3
- package/lib/routes/followin/tag.ts +5 -3
- package/lib/routes/followin/topic.ts +5 -3
- package/lib/routes/followin/utils.ts +1 -1
- package/lib/routes/foresightnews/article.ts +5 -3
- package/lib/routes/foresightnews/column.ts +5 -3
- package/lib/routes/foresightnews/index.ts +6 -4
- package/lib/routes/foresightnews/news.ts +5 -3
- package/lib/routes/foresightnews/util.ts +1 -1
- package/lib/routes/foreverblog/feeds.ts +5 -3
- package/lib/routes/fortunechina/index.ts +5 -3
- package/lib/routes/fosshub/index.ts +1 -1
- package/lib/routes/free/rss.ts +8 -5
- package/lib/routes/freebuf/index.ts +5 -3
- package/lib/routes/freecomputerbooks/index.ts +24 -8
- package/lib/routes/freewechat/profile.ts +7 -5
- package/lib/routes/freexcomic/book.ts +84 -0
- package/lib/routes/freexcomic/namespace.ts +7 -0
- package/lib/routes/ft/channel.ts +5 -8
- package/lib/routes/fuliba/latest.ts +5 -3
- package/lib/routes/furstar/archive.ts +6 -4
- package/lib/routes/furstar/artists.ts +6 -4
- package/lib/routes/furstar/index.ts +6 -4
- package/lib/routes/furstar/utils.ts +1 -1
- package/lib/routes/futunn/main.ts +1 -1
- package/lib/routes/fx678/kx.ts +5 -3
- package/lib/routes/gameapps/index.ts +7 -5
- package/lib/routes/gamegene/news.ts +5 -3
- package/lib/routes/gamer/ani/new-anime.ts +6 -4
- package/lib/routes/gamer/gnn-index.ts +7 -6
- package/lib/routes/gamer/hot.ts +3 -6
- package/lib/routes/gamer520/index.ts +85 -0
- package/lib/routes/gamer520/namespace.ts +6 -0
- package/lib/routes/gamersecret/index.ts +5 -3
- package/lib/routes/gamme/category.ts +2 -1
- package/lib/routes/gamme/tag.ts +2 -1
- package/lib/routes/gcores/category.ts +12 -6
- package/lib/routes/gcores/collection.ts +5 -3
- package/lib/routes/gcores/radio.ts +7 -5
- package/lib/routes/gcores/tag.ts +8 -5
- package/lib/routes/gdut/oa-news.ts +6 -4
- package/lib/routes/gelonghui/hot-article.ts +6 -4
- package/lib/routes/gelonghui/live.ts +6 -4
- package/lib/routes/gelonghui/subject.ts +5 -3
- package/lib/routes/gelonghui/user.ts +5 -3
- package/lib/routes/geocaching/blogs.ts +5 -3
- package/lib/routes/getdr/index.ts +6 -4
- package/lib/routes/gettr/user.ts +6 -4
- package/lib/routes/gf-cn/news.ts +5 -3
- package/lib/routes/gihyo/group.ts +5 -3
- package/lib/routes/gitee/repos/commits.ts +5 -3
- package/lib/routes/gitee/repos/events.ts +5 -3
- package/lib/routes/gitee/repos/releases.ts +5 -3
- package/lib/routes/gitee/users/events.ts +5 -3
- package/lib/routes/github/branches.ts +5 -3
- package/lib/routes/github/comments.ts +38 -30
- package/lib/routes/github/contributors.ts +6 -4
- package/lib/routes/github/file.ts +14 -5
- package/lib/routes/github/follower.ts +7 -4
- package/lib/routes/github/gist.ts +5 -3
- package/lib/routes/github/issue.ts +6 -12
- package/lib/routes/github/notifications.ts +13 -10
- package/lib/routes/github/pulls.ts +6 -4
- package/lib/routes/github/pulse.ts +6 -4
- package/lib/routes/github/repos.ts +5 -3
- package/lib/routes/github/star.ts +13 -10
- package/lib/routes/github/starred-repos.ts +31 -54
- package/lib/routes/github/topic.ts +5 -3
- package/lib/routes/github/trending.ts +9 -6
- package/lib/routes/github/wiki.ts +6 -4
- package/lib/routes/gitpod/blog.ts +9 -12
- package/lib/routes/gitpod/changelog.ts +5 -3
- package/lib/routes/globallawreview/index.ts +6 -4
- package/lib/routes/gocn/jobs.ts +5 -3
- package/lib/routes/gocn/topics.ts +5 -3
- package/lib/routes/gofans/index.ts +1 -1
- package/lib/routes/gogoanimehd/recent-releases.ts +5 -3
- package/lib/routes/google/extension.ts +5 -3
- package/lib/routes/google/fonts.ts +4 -3
- package/lib/routes/google/news.ts +1 -1
- package/lib/routes/google/search.ts +1 -1
- package/lib/routes/gov/beijing/bjedu/gh.ts +6 -4
- package/lib/routes/gov/beijing/jw/tzgg.ts +5 -3
- package/lib/routes/gov/caac/cjwt.ts +7 -5
- package/lib/routes/gov/chinatax/latest.ts +6 -4
- package/lib/routes/gov/chongqing/gzw.ts +15 -2
- package/lib/routes/gov/chongqing/rsks.ts +6 -13
- package/lib/routes/gov/chongqing/sydwgkzp.ts +26 -26
- package/lib/routes/gov/cmse/fxrw.ts +6 -4
- package/lib/routes/gov/csrc/news.ts +1 -1
- package/lib/routes/gov/customs/list.ts +6 -4
- package/lib/routes/gov/forestry/gjlckjdjt.ts +1 -1
- package/lib/routes/gov/guangdong/tqyb/sncsyjxh.ts +6 -4
- package/lib/routes/gov/guangdong/tqyb/tfxtq.ts +6 -4
- package/lib/routes/gov/hunan/changsha/major-email.ts +5 -3
- package/lib/routes/gov/jiangsu/wlt/index.ts +99 -0
- package/lib/routes/gov/jiangsu/wlt/templates/wlt.art +9 -0
- package/lib/routes/gov/jinan/healthcommission/medical-exam-notice.ts +5 -3
- package/lib/routes/gov/mee/ywdt.ts +6 -4
- package/lib/routes/gov/mem/sgcc.ts +6 -4
- package/lib/routes/gov/miit/wjfb.ts +5 -3
- package/lib/routes/gov/miit/yjzj.ts +5 -3
- package/lib/routes/gov/moa/moa.ts +142 -68
- package/lib/routes/gov/moe/s78.ts +5 -3
- package/lib/routes/gov/moj/lfyjzj.ts +5 -3
- package/lib/routes/gov/mot/index.ts +3 -3
- package/lib/routes/gov/nea/ghs.ts +5 -3
- package/lib/routes/gov/npc/index.ts +5 -3
- package/lib/routes/gov/pbc/goutongjiaoliu.ts +5 -3
- package/lib/routes/gov/pbc/gzlw.ts +5 -3
- package/lib/routes/gov/pbc/zcyj.ts +5 -3
- package/lib/routes/gov/safe/business.ts +1 -1
- package/lib/routes/gov/safe/complaint.ts +1 -1
- package/lib/routes/gov/safe/util.ts +1 -1
- package/lib/routes/gov/samr/xgzlyhd.ts +6 -4
- package/lib/routes/gov/shanghai/rsj/ksxm.ts +6 -4
- package/lib/routes/gov/shanghai/wgj/wgj.ts +7 -5
- package/lib/routes/gov/shanghai/wsjkw/yqtb/index.ts +5 -3
- package/lib/routes/gov/shenzhen/hrss/szksy/index.ts +5 -3
- package/lib/routes/gov/shenzhen/xxgk/zfxxgj.ts +2 -1
- package/lib/routes/gov/shenzhen/zjj/index.ts +7 -4
- package/lib/routes/gov/shenzhen/zzb/index.ts +5 -3
- package/lib/routes/gov/sichuan/deyang/govpublicinfo.ts +1 -1
- package/lib/routes/gov/sichuan/deyang/mztoday.ts +7 -5
- package/lib/routes/gov/stats/index.ts +44 -25
- package/lib/routes/gov/suzhou/doc.ts +5 -3
- package/lib/routes/gov/suzhou/news.ts +7 -4
- package/lib/routes/gov/taiyuan/rsj.ts +5 -3
- package/lib/routes/gov/wuhan/whyw.ts +5 -3
- package/lib/routes/gov/zhejiang/gwy.ts +6 -4
- package/lib/routes/gov/zhengce/govall.ts +6 -4
- package/lib/routes/gov/zhengce/index.ts +5 -3
- package/lib/routes/gov/zhengce/wenjian.ts +6 -4
- package/lib/routes/gov/zhengce/zhengceku.ts +15 -18
- package/lib/routes/greasyfork/feedback.ts +5 -3
- package/lib/routes/greasyfork/scripts.ts +5 -3
- package/lib/routes/greasyfork/versions.ts +5 -3
- package/lib/routes/grist/featured.ts +5 -3
- package/lib/routes/grist/index.ts +5 -3
- package/lib/routes/grist/series.ts +5 -3
- package/lib/routes/grist/topic.ts +5 -3
- package/lib/routes/grubstreet/index.ts +7 -5
- package/lib/routes/guancha/headline.ts +5 -3
- package/lib/routes/guancha/index.ts +5 -3
- package/lib/routes/guancha/member.ts +6 -4
- package/lib/routes/guancha/topic.ts +6 -4
- package/lib/routes/guangdiu/rank.ts +5 -3
- package/lib/routes/guanhai/index.ts +6 -4
- package/lib/routes/guduodata/daily.ts +6 -4
- package/lib/routes/gumroad/index.ts +3 -2
- package/lib/routes/guokr/channel.ts +26 -41
- package/lib/routes/guokr/scientific.ts +16 -32
- package/lib/routes/guokr/utils.ts +37 -0
- package/lib/routes/gxmzu/ai.ts +6 -4
- package/lib/routes/gxmzu/lib.ts +14 -29
- package/lib/routes/gxmzu/utils/index.ts +31 -13
- package/lib/routes/gxmzu/yjs.ts +6 -4
- package/lib/routes/gzdaily/app.ts +1 -1
- package/lib/routes/gzhu/yjs.ts +5 -3
- package/lib/routes/hackernews/index.ts +5 -3
- package/lib/routes/hackertalk/index.ts +6 -4
- package/lib/routes/hacking8/index.ts +5 -3
- package/lib/routes/hacking8/search.ts +6 -4
- package/lib/routes/hackyournews/index.ts +6 -4
- package/lib/routes/hafu/utils.ts +3 -2
- package/lib/routes/hakkatv/type.ts +6 -4
- package/lib/routes/hameln/chapter.ts +5 -3
- package/lib/routes/harvard/health/blog.ts +5 -3
- package/lib/routes/hashnode/blog.ts +6 -4
- package/lib/routes/hbooker/chapter.ts +5 -3
- package/lib/routes/hbr/topic.ts +5 -3
- package/lib/routes/hdu/cs/notice.ts +5 -3
- package/lib/routes/hdu/cs/pg.ts +5 -3
- package/lib/routes/hebtv/nong-bo-shi-zai-xing-dong.ts +6 -4
- package/lib/routes/hellobtc/news.ts +5 -3
- package/lib/routes/hellogithub/index.ts +1 -1
- package/lib/routes/hellogithub/report.ts +1 -1
- package/lib/routes/hellogithub/volume.ts +1 -1
- package/lib/routes/hex-rays/index.ts +5 -3
- package/lib/routes/hicairo/rss.ts +8 -5
- package/lib/routes/hinatazaka46/news.ts +5 -3
- package/lib/routes/hit/hitgs.ts +5 -3
- package/lib/routes/hit/jwc.ts +5 -3
- package/lib/routes/hit/namespace.ts +1 -1
- package/lib/routes/hit/today.ts +5 -3
- package/lib/routes/hitcon/namespace.ts +6 -0
- package/lib/routes/hitcon/templates/zeroday.art +8 -0
- package/lib/routes/hitcon/zeroday.ts +109 -0
- package/lib/routes/hitwh/today.ts +5 -3
- package/lib/routes/hizu/index.ts +5 -3
- package/lib/routes/hk01/channel.ts +5 -3
- package/lib/routes/hk01/hot.ts +5 -3
- package/lib/routes/hk01/issue.ts +5 -3
- package/lib/routes/hk01/latest.ts +5 -3
- package/lib/routes/hk01/tag.ts +5 -3
- package/lib/routes/hk01/utils.ts +1 -1
- package/lib/routes/hk01/zone.ts +5 -3
- package/lib/routes/hkej/index.ts +9 -10
- package/lib/routes/hkepc/index.ts +6 -4
- package/lib/routes/hket/index.ts +10 -13
- package/lib/routes/hkjunkcall/index.ts +6 -4
- package/lib/routes/hnrb/index.ts +6 -4
- package/lib/routes/hnu/careers.ts +5 -3
- package/lib/routes/hongkong/chp.ts +5 -3
- package/lib/routes/hongkong/dh.ts +5 -3
- package/lib/routes/hostmonit/cloudflareyes.ts +1 -1
- package/lib/routes/hotukdeals/hottest.ts +5 -3
- package/lib/routes/houxu/events.ts +6 -4
- package/lib/routes/houxu/index.ts +7 -5
- package/lib/routes/houxu/lives.ts +5 -3
- package/lib/routes/houxu/memory.ts +6 -4
- package/lib/routes/howtoforge/rss.ts +8 -5
- package/lib/routes/hoyolab/news.ts +6 -6
- package/lib/routes/hpoi/all.ts +7 -5
- package/lib/routes/hpoi/banner-item.ts +5 -3
- package/lib/routes/hpoi/character.ts +1 -1
- package/lib/routes/hpoi/work.ts +1 -1
- package/lib/routes/hrbeu/job/bigemploy.ts +6 -4
- package/lib/routes/hrbeu/job/calendar.ts +5 -3
- package/lib/routes/hrbeu/job/list.ts +4 -1
- package/lib/routes/hrbeu/uae/news.ts +5 -3
- package/lib/routes/hrbeu/ugs/news.ts +6 -4
- package/lib/routes/hrbeu/yjsy/list.ts +5 -3
- package/lib/routes/hrbust/utils.ts +1 -1
- package/lib/routes/huanqiu/index.ts +13 -9
- package/lib/routes/hubu/index.ts +124 -0
- package/lib/routes/hubu/namespace.ts +8 -0
- package/lib/routes/hubu/zhxy.ts +228 -0
- package/lib/routes/huggingface/blog-zh.ts +5 -3
- package/lib/routes/huggingface/daily-papers.ts +5 -3
- package/lib/routes/hunanpea/rsks.ts +5 -3
- package/lib/routes/hunau/gfxy/index.ts +6 -4
- package/lib/routes/hunau/ied.ts +6 -4
- package/lib/routes/hunau/jwc.ts +6 -4
- package/lib/routes/hunau/xky/index.ts +6 -4
- package/lib/routes/hupu/all.ts +7 -5
- package/lib/routes/hupu/bbs.ts +7 -5
- package/lib/routes/hupu/index.ts +6 -4
- package/lib/routes/hust/aia/news.ts +5 -3
- package/lib/routes/hust/yjs.ts +5 -3
- package/lib/routes/huxiu/channel.ts +5 -3
- package/lib/routes/huxiu/moment.ts +5 -3
- package/lib/routes/huxiu/search.ts +5 -3
- package/lib/routes/huxiu/util.ts +1 -1
- package/lib/routes/ianspriggs/index.ts +1 -1
- package/lib/routes/icac/news.ts +6 -4
- package/lib/routes/icbc/whpj.ts +6 -4
- package/lib/routes/idaily/index.ts +13 -4
- package/lib/routes/idolypride/news.ts +5 -3
- package/lib/routes/ieee/earlyaccess.ts +1 -1
- package/lib/routes/ieee/journal.ts +1 -1
- package/lib/routes/ieee/recent.ts +1 -1
- package/lib/routes/ieee-security/sp.ts +5 -3
- package/lib/routes/ielts/index.ts +6 -4
- package/lib/routes/ifeng/news.ts +1 -1
- package/lib/routes/ifeng/utils.ts +1 -1
- package/lib/routes/iiilab/index.ts +25 -26
- package/lib/routes/ikea/cn/family-offers.ts +5 -3
- package/lib/routes/ikea/cn/low-price.ts +5 -3
- package/lib/routes/ikea/cn/new.ts +5 -3
- package/lib/routes/ikea/cn/utils.ts +1 -1
- package/lib/routes/ikea/gb/new.ts +6 -4
- package/lib/routes/ikea/gb/offer.ts +6 -4
- package/lib/routes/imagemagick/changelog.ts +5 -3
- package/lib/routes/imiker/jinghua.ts +6 -4
- package/lib/routes/indiansinkuwait/latest.ts +5 -3
- package/lib/routes/indienova/article.ts +1 -1
- package/lib/routes/indienova/column.ts +5 -3
- package/lib/routes/indienova/usergames.ts +5 -3
- package/lib/routes/inewsweek/index.ts +5 -3
- package/lib/routes/infoq/recommend.ts +5 -3
- package/lib/routes/infoq/topic.ts +5 -3
- package/lib/routes/informs/index.ts +1 -1
- package/lib/routes/infzm/index.ts +75 -0
- package/lib/routes/infzm/types.ts +17 -0
- package/lib/routes/instagram/common-utils.ts +1 -1
- package/lib/routes/instagram/private-api/index.ts +3 -2
- package/lib/routes/instagram/private-api/utils.ts +2 -1
- package/lib/routes/instagram/web-api/index.ts +5 -3
- package/lib/routes/instagram/web-api/utils.ts +5 -4
- package/lib/routes/instructables/projects.ts +6 -4
- package/lib/routes/ippa/namespace.ts +6 -0
- package/lib/routes/ippa/rss.ts +35 -0
- package/lib/routes/ipsw/index.ts +109 -0
- package/lib/routes/ipsw/namespace.ts +6 -0
- package/lib/routes/iqilu/program.ts +1 -1
- package/lib/routes/iqiyi/album.ts +3 -2
- package/lib/routes/iqiyi/video.ts +6 -4
- package/lib/routes/iqnew/latest.ts +5 -3
- package/lib/routes/iresearch/report.ts +6 -4
- package/lib/routes/iresearch/weekly.ts +1 -1
- package/lib/routes/itc/collection.ts +66 -0
- package/lib/routes/itc/namespace.ts +6 -0
- package/lib/routes/itch/devlog.ts +3 -2
- package/lib/routes/itch/index.ts +1 -1
- package/lib/routes/itch/posts.ts +5 -3
- package/lib/routes/ithome/index.ts +2 -1
- package/lib/routes/ithome/ranking.ts +2 -1
- package/lib/routes/ithome/tag.ts +5 -3
- package/lib/routes/ithome/tw/feeds.ts +5 -3
- package/lib/routes/ithome/zt.ts +5 -3
- package/lib/routes/iwara/subscriptions.ts +9 -6
- package/lib/routes/ixigua/user-video.ts +7 -5
- package/lib/routes/jandan/index.ts +6 -0
- package/lib/routes/jandan/section.ts +4 -1
- package/lib/routes/japanpost/track.ts +1 -1
- package/lib/routes/javbus/index.ts +9 -6
- package/lib/routes/javbus/namespace.ts +1 -1
- package/lib/routes/javdb/actors.ts +14 -7
- package/lib/routes/javdb/index.ts +7 -5
- package/lib/routes/javdb/lists.ts +7 -5
- package/lib/routes/javdb/makers.ts +14 -6
- package/lib/routes/javdb/rankings.ts +14 -6
- package/lib/routes/javdb/search.ts +14 -6
- package/lib/routes/javdb/series.ts +14 -6
- package/lib/routes/javdb/tags.ts +14 -6
- package/lib/routes/javdb/utils.ts +18 -1
- package/lib/routes/javlibrary/bestrated.ts +1 -1
- package/lib/routes/javlibrary/bestreviews.ts +1 -1
- package/lib/routes/javlibrary/genre.ts +1 -1
- package/lib/routes/javlibrary/maker.ts +1 -1
- package/lib/routes/javlibrary/mostwanted.ts +1 -1
- package/lib/routes/javlibrary/newentries.ts +1 -1
- package/lib/routes/javlibrary/newrelease.ts +1 -1
- package/lib/routes/javlibrary/star.ts +1 -1
- package/lib/routes/javlibrary/update.ts +1 -1
- package/lib/routes/javlibrary/user.ts +1 -1
- package/lib/routes/javlibrary/utils.ts +1 -1
- package/lib/routes/jd/price.ts +1 -1
- package/lib/routes/jewishmuseum/exhibitions.ts +11 -14
- package/lib/routes/jianshu/collection.ts +5 -3
- package/lib/routes/jianshu/home.ts +5 -3
- package/lib/routes/jianshu/user.ts +5 -3
- package/lib/routes/jiaoliudao/index.ts +6 -4
- package/lib/routes/jiemian/lists.ts +1 -1
- package/lib/routes/jike/topic-text.ts +7 -5
- package/lib/routes/jike/topic.ts +8 -6
- package/lib/routes/jike/user.ts +6 -4
- package/lib/routes/jike/utils.ts +1 -1
- package/lib/routes/jin10/index.ts +7 -5
- package/lib/routes/jin10/topic.ts +5 -3
- package/lib/routes/jinse/catalogue.ts +1 -1
- package/lib/routes/jinse/lives.ts +1 -1
- package/lib/routes/jinse/timeline.ts +1 -1
- package/lib/routes/jisilu/index.ts +5 -3
- package/lib/routes/jjwxc/author.ts +1 -1
- package/lib/routes/jjwxc/book.ts +1 -1
- package/lib/routes/jou/home.ts +5 -3
- package/lib/routes/jou/utils/index.ts +35 -25
- package/lib/routes/jou/yz.ts +5 -3
- package/lib/routes/jpxgmn/namespace.ts +6 -0
- package/lib/routes/jpxgmn/search.ts +45 -0
- package/lib/routes/jpxgmn/tab.ts +57 -0
- package/lib/routes/jpxgmn/templates/description.art +3 -0
- package/lib/routes/jpxgmn/utils.ts +36 -0
- package/lib/routes/jpxgmn/weekly.ts +54 -0
- package/lib/routes/jseea/news.ts +6 -4
- package/lib/routes/juejin/books.ts +5 -3
- package/lib/routes/juejin/collection.ts +5 -3
- package/lib/routes/juejin/column.ts +5 -3
- package/lib/routes/juejin/favorites.ts +6 -4
- package/lib/routes/juejin/posts.ts +5 -3
- package/lib/routes/juejin/tag.ts +5 -3
- package/lib/routes/jump/discount.ts +1 -1
- package/lib/routes/junhe/legal-updates.ts +98 -0
- package/lib/routes/junhe/namespace.ts +8 -0
- package/lib/routes/kamen-rider-official/news.ts +1 -1
- package/lib/routes/kantarworldpanel/index.ts +1 -1
- package/lib/routes/kanxue/namespace.ts +6 -0
- package/lib/routes/kanxue/topic.ts +153 -0
- package/lib/routes/kaopu/namespace.ts +6 -0
- package/lib/routes/kaopu/news.ts +51 -0
- package/lib/routes/kbs/news.ts +6 -4
- package/lib/routes/kbs/today.ts +6 -4
- package/lib/routes/kcna/news.ts +7 -5
- package/lib/routes/ke/results.ts +5 -3
- package/lib/routes/keep/user.ts +6 -4
- package/lib/routes/kemono/index.ts +79 -74
- package/lib/routes/kemono/templates/source.art +24 -0
- package/lib/routes/kepu/live.ts +6 -4
- package/lib/routes/kimlaw/thesis.ts +5 -3
- package/lib/routes/konghq/blog-posts.ts +5 -3
- package/lib/routes/kuaidi100/supported-company.ts +5 -3
- package/lib/routes/kunchengblog/essay.ts +5 -3
- package/lib/routes/kuwaitlocal/index.ts +6 -4
- package/lib/routes/kyodonews/index.ts +5 -3
- package/lib/routes/laimanhua/index.ts +5 -3
- package/lib/routes/lala/rss.ts +8 -5
- package/lib/routes/lang/room.ts +7 -5
- package/lib/routes/lanqiao/author.ts +5 -3
- package/lib/routes/lanqiao/questions.ts +5 -3
- package/lib/routes/lanqiao/utils.ts +1 -1
- package/lib/routes/laohu8/personal.ts +5 -3
- package/lib/routes/layoffs/index.ts +6 -4
- package/lib/routes/learnku/topic.ts +7 -5
- package/lib/routes/leetcode/articles.ts +5 -3
- package/lib/routes/leetcode/dailyquestion-cn.ts +6 -4
- package/lib/routes/leetcode/dailyquestion-en.ts +6 -4
- package/lib/routes/leetcode/dailyquestion-solution-cn.ts +5 -3
- package/lib/routes/leetcode/dailyquestion-solution-en.ts +6 -4
- package/lib/routes/leiphone/index.ts +6 -4
- package/lib/routes/leiphone/newsflash.ts +5 -3
- package/lib/routes/lemmy/index.ts +4 -2
- package/lib/routes/lfsyd/home.ts +5 -3
- package/lib/routes/lfsyd/old-home.ts +5 -3
- package/lib/routes/lfsyd/tag.ts +6 -4
- package/lib/routes/lfsyd/user.ts +6 -4
- package/lib/routes/lfsyd/utils.ts +1 -1
- package/lib/routes/lifeweek/channel.ts +6 -4
- package/lib/routes/lifeweek/tag.ts +6 -4
- package/lib/routes/lightnovel/light-novel.ts +6 -4
- package/lib/routes/line/publisher.ts +18 -26
- package/lib/routes/line/today.ts +6 -13
- package/lib/routes/line/utils.ts +4 -3
- package/lib/routes/linkedin/cn/utils.ts +1 -1
- package/lib/routes/linovelib/namespace.ts +1 -1
- package/lib/routes/linovelib/volume.ts +36 -0
- package/lib/routes/liquipedia/cs-matches.ts +6 -4
- package/lib/routes/liquipedia/dota2-matches.ts +5 -3
- package/lib/routes/literotica/category.ts +5 -3
- package/lib/routes/literotica/new.ts +5 -3
- package/lib/routes/liveuamap/index.ts +8 -5
- package/lib/routes/lkong/forum.ts +6 -4
- package/lib/routes/lkong/thread.ts +6 -4
- package/lib/routes/lofter/tag.ts +3 -3
- package/lib/routes/lofter/user.ts +5 -4
- package/lib/routes/logclub/index.ts +1 -1
- package/lib/routes/logclub/report.ts +1 -1
- package/lib/routes/logonews/index.ts +6 -4
- package/lib/routes/loltw/news.ts +1 -1
- package/lib/routes/loongarch/namespace.ts +6 -0
- package/lib/routes/loongarch/post.ts +59 -0
- package/lib/routes/lovelive-anime/news.ts +7 -5
- package/lib/routes/lovelive-anime/schedules.ts +1 -1
- package/lib/routes/lovelive-anime/topics.ts +1 -1
- package/lib/routes/lsnu/jiaowc/tzgg.ts +6 -4
- package/lib/routes/luogu/contest.ts +5 -3
- package/lib/routes/luogu/daily.ts +6 -4
- package/lib/routes/luogu/user-blog.ts +5 -3
- package/lib/routes/luogu/user-feed.ts +5 -3
- package/lib/routes/luolei/index.ts +145 -0
- package/lib/routes/luolei/namespace.ts +8 -0
- package/lib/routes/luolei/templates/description.art +19 -0
- package/lib/routes/luxiangdong/archive.ts +5 -3
- package/lib/routes/lvv2/news.ts +1 -1
- package/lib/routes/lvv2/top.ts +1 -1
- package/lib/routes/lxixsxa/discography.ts +6 -4
- package/lib/routes/lxixsxa/information.ts +6 -4
- package/lib/routes/m4/index.ts +3 -2
- package/lib/routes/macfilos/blog.ts +5 -3
- package/lib/routes/macupdate/app.ts +9 -7
- package/lib/routes/magazinelib/latest-magazine.ts +1 -1
- package/lib/routes/mail/imap.ts +2 -1
- package/lib/routes/mangadex/index.ts +6 -4
- package/lib/routes/manhuagui/comic.ts +6 -4
- package/lib/routes/manhuagui/subscribe.ts +8 -5
- package/lib/routes/mastodon/account-id.ts +2 -1
- package/lib/routes/mastodon/namespace.ts +1 -1
- package/lib/routes/mastodon/timeline-local.ts +2 -1
- package/lib/routes/mastodon/timeline-remote.ts +2 -1
- package/lib/routes/mastodon/utils.ts +3 -2
- package/lib/routes/mdpi/journal.ts +6 -4
- package/lib/routes/medieval-china/post.ts +6 -4
- package/lib/routes/medium/following.ts +3 -2
- package/lib/routes/medium/for-you.ts +3 -2
- package/lib/routes/medium/graphql.ts +12 -12
- package/lib/routes/medium/list.ts +4 -2
- package/lib/routes/medium/parse-article.ts +1 -1
- package/lib/routes/medium/tag.ts +3 -2
- package/lib/routes/metacritic/index.ts +1 -1
- package/lib/routes/metacritic/release.ts +2 -1
- package/lib/routes/meteor/boards.ts +5 -3
- package/lib/routes/meteor/utils.ts +1 -1
- package/lib/{routes-deprecated/mi/crowdfunding.js → routes/mi/crowdfunding.ts} +15 -5
- package/lib/{routes-deprecated/mi/golden.js → routes/mi/golden.ts} +14 -4
- package/lib/routes/mi/namespace.ts +6 -0
- package/lib/routes/microsoft/addon.ts +5 -3
- package/lib/routes/mihoyo/bbs/cache.ts +2 -1
- package/lib/routes/mihoyo/bbs/follow-list.ts +2 -2
- package/lib/routes/mihoyo/bbs/img-ranking.ts +7 -5
- package/lib/routes/mihoyo/bbs/official.ts +87 -18
- package/lib/routes/mihoyo/bbs/timeline.ts +8 -5
- package/lib/routes/mihoyo/bbs/user-post.ts +1 -1
- package/lib/routes/mihoyo/bbs/utils.ts +1 -1
- package/lib/routes/mihoyo/sr/news.ts +6 -4
- package/lib/routes/mihoyo/templates/official.art +7 -0
- package/lib/routes/mihoyo/ys/news.ts +7 -5
- package/lib/routes/mindmeister/example.ts +1 -1
- package/lib/routes/minecraft/blockedservers.ts +52 -0
- package/lib/routes/minecraft/java-runtime.ts +127 -0
- package/lib/routes/minecraft/version.ts +100 -20
- package/lib/routes/mingpao/index.ts +1 -1
- package/lib/{routes-deprecated/miniflux/get-entries.js → routes/miniflux/entry.ts} +84 -33
- package/lib/routes/miniflux/namespace.ts +6 -0
- package/lib/routes/miniflux/subscription.ts +129 -0
- package/lib/routes/mirror/index.ts +2 -1
- package/lib/routes/missav/new.ts +6 -4
- package/lib/routes/misskey/featured-notes.ts +2 -1
- package/lib/routes/misskey/utils.ts +1 -1
- package/lib/routes/mittrchina/index.ts +1 -1
- package/lib/routes/miui/community/user.ts +69 -0
- package/lib/{routes-deprecated/mi/miui/index.js → routes/miui/firmware/index.ts} +29 -32
- package/lib/routes/miui/namespace.ts +6 -0
- package/lib/routes/mixcloud/index.ts +27 -6
- package/lib/routes/mixcloud/queries.ts +934 -186
- package/lib/routes/modelscope/community.ts +6 -4
- package/lib/routes/modelscope/datasets.ts +6 -4
- package/lib/routes/modelscope/models.ts +5 -3
- package/lib/routes/modelscope/studios.ts +6 -4
- package/lib/routes/modian/namespace.ts +6 -0
- package/lib/routes/modian/zhongchou.ts +101 -0
- package/lib/routes/modrinth/versions.ts +55 -51
- package/lib/routes/mohw/clarification.ts +5 -3
- package/lib/routes/mox/index.ts +66 -34
- package/lib/routes/mpaypass/main.ts +1 -1
- package/lib/routes/mpaypass/news.ts +5 -3
- package/lib/routes/mrdx/daily.ts +5 -3
- package/lib/routes/mvm/index.ts +5 -3
- package/lib/routes/mydrivers/index.ts +1 -1
- package/lib/routes/mydrivers/rank.ts +6 -4
- package/lib/routes/myfigurecollection/activity.ts +9 -6
- package/lib/routes/myfigurecollection/index.ts +8 -5
- package/lib/routes/mygopen/index.ts +5 -3
- package/lib/routes/mymusicsheet/usersheets.ts +7 -5
- package/lib/routes/nasa/apod-cn.ts +5 -3
- package/lib/routes/nasa/apod-ncku.ts +5 -3
- package/lib/routes/nasa/apod.ts +5 -3
- package/lib/routes/natgeo/dailyphoto.ts +6 -4
- package/lib/routes/natgeo/natgeo.ts +6 -4
- package/lib/routes/nationalgeographic/latest-stories.ts +6 -4
- package/lib/routes/nature/cover.ts +5 -3
- package/lib/routes/nature/highlight.ts +6 -4
- package/lib/routes/nature/news-and-comment.ts +6 -4
- package/lib/routes/nature/news.ts +5 -3
- package/lib/routes/nature/research.ts +6 -4
- package/lib/routes/nature/siteindex.ts +3 -3
- package/lib/routes/nautil/topics.ts +6 -4
- package/lib/routes/nbd/daily.ts +5 -3
- package/lib/routes/nbd/index.ts +5 -3
- package/lib/routes/nber/index.ts +6 -4
- package/lib/routes/ncc-cma/cmdp.ts +1 -1
- package/lib/routes/ncpssd/namespace.ts +6 -0
- package/lib/routes/ncpssd/newlist.ts +98 -0
- package/lib/routes/ncu/jwc.ts +5 -3
- package/lib/routes/ncwu/notice.ts +5 -3
- package/lib/routes/ndss-symposium/ndss.ts +5 -3
- package/lib/routes/neatdownloadmanager/download.ts +5 -3
- package/lib/routes/neea/jlpt.ts +5 -3
- package/lib/routes/netflav/index.ts +7 -5
- package/lib/routes/neu/news.ts +5 -3
- package/lib/routes/newmuseum/exhibitions.ts +11 -14
- package/lib/routes/newrank/douyin.ts +2 -1
- package/lib/routes/newrank/wechat.ts +2 -1
- package/lib/routes/news/xhsxw.ts +6 -4
- package/lib/routes/newsmarket/index.ts +5 -3
- package/lib/routes/newzmz/index.ts +6 -4
- package/lib/routes/newzmz/util.ts +1 -1
- package/lib/routes/nextapple/realtime.ts +5 -3
- package/lib/routes/ngocn2/index.ts +5 -3
- package/lib/routes/nhentai/other.ts +9 -6
- package/lib/routes/nhentai/search.ts +7 -5
- package/lib/routes/nhentai/util.ts +4 -3
- package/lib/routes/nhk/news-web-easy.ts +6 -4
- package/lib/routes/nhk/news.ts +7 -5
- package/lib/routes/niaogebiji/cat.ts +5 -3
- package/lib/routes/niaogebiji/index.ts +6 -4
- package/lib/routes/niaogebiji/today.ts +6 -4
- package/lib/routes/nikkei/asia/index.ts +5 -3
- package/lib/routes/nikkei/news.ts +14 -20
- package/lib/routes/nintendo/direct.ts +6 -4
- package/lib/routes/nintendo/eshop-cn.ts +7 -4
- package/lib/routes/nintendo/eshop-hk.ts +6 -4
- package/lib/routes/nintendo/eshop-jp.ts +6 -4
- package/lib/routes/nintendo/eshop-us.ts +7 -5
- package/lib/routes/nintendo/news-china.ts +7 -4
- package/lib/routes/nintendo/news.ts +5 -3
- package/lib/routes/nintendo/system-update.ts +5 -3
- package/lib/routes/nintendo/utils.ts +1 -1
- package/lib/routes/nippon/index.ts +9 -4
- package/lib/routes/njglyy/ygbjypx.ts +5 -3
- package/lib/routes/njit/tzgg.ts +5 -3
- package/lib/routes/nju/admission.ts +5 -3
- package/lib/routes/nju/dafls.ts +5 -3
- package/lib/routes/nju/gra.ts +5 -3
- package/lib/routes/nju/hosptial.ts +5 -3
- package/lib/routes/nju/hqjt.ts +5 -3
- package/lib/routes/nju/itsc.ts +5 -3
- package/lib/routes/nju/jjc.ts +5 -3
- package/lib/routes/nju/jw.ts +9 -5
- package/lib/routes/nju/rczp.ts +5 -3
- package/lib/routes/nju/zcc.ts +5 -3
- package/lib/routes/njucm/grabs.ts +5 -3
- package/lib/routes/njuferret/blog.ts +41 -0
- package/lib/routes/njuferret/namespace.ts +10 -0
- package/lib/routes/njust/cwc.ts +2 -1
- package/lib/routes/njust/dgxg.ts +2 -1
- package/lib/routes/njust/eoe.ts +2 -1
- package/lib/routes/njust/gs.ts +6 -4
- package/lib/routes/njust/jwc.ts +2 -1
- package/lib/routes/njxzc/home.ts +5 -3
- package/lib/routes/njxzc/lib.ts +5 -3
- package/lib/routes/njxzc/utils/index.ts +31 -13
- package/lib/routes/nlc/read.ts +1 -1
- package/lib/routes/nltimes/news.ts +6 -4
- package/lib/routes/nmc/weatheralarm.ts +8 -7
- package/lib/routes/nmtv/column.ts +1 -1
- package/lib/routes/nodejs/blog.ts +5 -3
- package/lib/routes/nogizaka46/blog.ts +6 -4
- package/lib/routes/nogizaka46/news.ts +5 -3
- package/lib/{routes-deprecated/nosec/index.js → routes/nosec/index.ts} +37 -10
- package/lib/routes/nosec/namespace.ts +6 -0
- package/lib/routes/notateslaapp/update.ts +5 -3
- package/lib/routes/notefolio/search.ts +6 -4
- package/lib/routes/notion/database.ts +11 -7
- package/lib/routes/notion/namespace.ts +2 -2
- package/lib/routes/now/news.ts +5 -3
- package/lib/routes/nowcoder/experience.ts +6 -4
- package/lib/routes/nowcoder/jobcenter.ts +6 -4
- package/lib/routes/nowcoder/recommend.ts +5 -3
- package/lib/routes/nowcoder/schedule.ts +6 -4
- package/lib/routes/npm/package.ts +1 -1
- package/lib/routes/ntdm/namespace.ts +6 -0
- package/lib/routes/ntdm/utils.ts +3 -0
- package/lib/routes/ntdm/video.ts +57 -0
- package/lib/routes/ntdtv/channel.ts +5 -3
- package/lib/routes/nua/dc.ts +7 -4
- package/lib/routes/nua/gra.ts +5 -3
- package/lib/routes/nua/index.ts +5 -3
- package/lib/routes/nua/lib.ts +7 -4
- package/lib/routes/nua/sxw.ts +5 -3
- package/lib/routes/nuist/bulletin.ts +6 -4
- package/lib/routes/nuist/library/lib.ts +5 -3
- package/lib/routes/nuist/scs.ts +6 -4
- package/lib/routes/nuist/xgc.ts +5 -3
- package/lib/routes/nymity/censorbib.ts +51 -0
- package/lib/routes/nymity/namespace.ts +6 -0
- package/lib/routes/nytimes/book.ts +6 -4
- package/lib/routes/nytimes/daily-briefing-chinese.ts +7 -5
- package/lib/routes/nytimes/index.ts +6 -4
- package/lib/routes/oceanengine/arithmetic-index.ts +5 -4
- package/lib/routes/odaily/activity.ts +5 -3
- package/lib/routes/odaily/newsflash.ts +5 -3
- package/lib/routes/odaily/post.ts +5 -3
- package/lib/routes/odaily/search-news.ts +5 -3
- package/lib/routes/odaily/user.ts +5 -3
- package/lib/routes/oeeee/app/channel.ts +1 -1
- package/lib/routes/oeeee/app/reporter.ts +1 -1
- package/lib/routes/oeeee/web.ts +1 -1
- package/lib/routes/oncc/index.ts +1 -1
- package/lib/routes/oncc/money18.ts +1 -1
- package/lib/routes/onet/news.ts +6 -4
- package/lib/routes/onet/utils.ts +1 -1
- package/lib/routes/openai/common.ts +1 -1
- package/lib/routes/openwrt/releases.ts +6 -4
- package/lib/routes/orcid/index.ts +1 -1
- package/lib/routes/oreno3d/main.ts +1 -1
- package/lib/routes/oschina/news.ts +6 -4
- package/lib/routes/oschina/topic.ts +5 -3
- package/lib/routes/oschina/user.ts +5 -3
- package/lib/routes/oshwhub/explore.ts +1 -1
- package/lib/routes/otobanana/cast.ts +10 -8
- package/lib/routes/otobanana/livestream.ts +10 -8
- package/lib/routes/otobanana/timeline.ts +10 -8
- package/lib/routes/otobanana/utils.ts +1 -1
- package/lib/routes/ouc/hqsz.ts +90 -0
- package/lib/routes/ouc/it-postgraduate.ts +5 -3
- package/lib/routes/ouc/it-tx.ts +6 -4
- package/lib/routes/ouc/it.ts +6 -4
- package/lib/routes/ouc/jwc.ts +7 -5
- package/lib/routes/ouc/jwgl.ts +5 -3
- package/lib/routes/ouc/yjs.ts +5 -3
- package/lib/routes/oup/index.ts +6 -4
- package/lib/routes/panewslab/author.ts +5 -3
- package/lib/routes/panewslab/index.ts +5 -3
- package/lib/routes/panewslab/news.ts +5 -3
- package/lib/routes/panewslab/topic.ts +5 -3
- package/lib/routes/papers/index.ts +101 -60
- package/lib/routes/papers/namespace.ts +2 -0
- package/lib/routes/paradigm/writing.ts +5 -3
- package/lib/routes/parliament/section77.ts +1 -1
- package/lib/routes/patagonia/new-arrivals.ts +1 -1
- package/lib/routes/paulgraham/article.ts +5 -3
- package/lib/routes/penguin-random-house/articles.ts +5 -3
- package/lib/routes/penguin-random-house/thereaddown.ts +5 -3
- package/lib/routes/penguin-random-house/utils.ts +1 -1
- package/lib/routes/people/index.ts +2 -1
- package/lib/routes/people/liuyan.ts +5 -3
- package/lib/routes/people/xjpjh.ts +6 -4
- package/lib/routes/peopo/topic.ts +6 -4
- package/lib/routes/phoronix/index.ts +7 -5
- package/lib/routes/pianyivps/namespace.ts +6 -0
- package/lib/routes/pianyivps/rss.ts +35 -0
- package/lib/routes/pianyuan/app.ts +6 -4
- package/lib/routes/pianyuan/search.ts +6 -4
- package/lib/routes/pianyuan/utils.ts +3 -2
- package/lib/routes/picnob/user.ts +23 -8
- package/lib/routes/picuki/profile.ts +7 -5
- package/lib/routes/pikabu/user.ts +5 -3
- package/lib/routes/pikabu/utils.ts +1 -1
- package/lib/routes/pincong/topic.ts +5 -3
- package/lib/routes/pingwest/status.ts +5 -3
- package/lib/routes/pingwest/user.ts +6 -4
- package/lib/routes/pixabay/search.ts +7 -5
- package/lib/routes/pixiv/bookmarks.ts +8 -5
- package/lib/routes/pixiv/illustfollow.ts +8 -5
- package/lib/routes/pixiv/novels.ts +5 -3
- package/lib/routes/pixiv/ranking.ts +3 -2
- package/lib/routes/pixiv/search.ts +3 -2
- package/lib/routes/pixiv/token.ts +14 -21
- package/lib/routes/pixiv/user.ts +8 -5
- package/lib/routes/piyao/jrpy.ts +5 -3
- package/lib/routes/pkmer/recent.ts +5 -3
- package/lib/routes/pku/bbs/hot.ts +5 -3
- package/lib/routes/pku/cls/announcement.ts +5 -3
- package/lib/routes/pku/cls/lecture.ts +5 -3
- package/lib/routes/pku/hr.ts +5 -3
- package/lib/routes/pku/nsd.ts +5 -3
- package/lib/routes/pku/pkuyjs.ts +5 -3
- package/lib/routes/pku/rccp/mzyt.ts +5 -3
- package/lib/routes/pku/ss/admission.ts +5 -3
- package/lib/routes/pku/ss/notice.ts +5 -3
- package/lib/routes/pku/ss/pg-admin.ts +5 -3
- package/lib/routes/playno1/st.ts +6 -4
- package/lib/routes/playpcesor/rss.ts +8 -5
- package/lib/routes/plurk/anonymous.ts +5 -3
- package/lib/routes/plurk/hotlinks.ts +5 -3
- package/lib/routes/plurk/news.ts +6 -4
- package/lib/routes/plurk/top.ts +2 -1
- package/lib/routes/plurk/topic.ts +5 -3
- package/lib/routes/pnas/index.ts +7 -5
- package/lib/routes/pornhub/category-url.ts +2 -1
- package/lib/routes/pornhub/model.ts +8 -5
- package/lib/routes/pornhub/pornstar.ts +8 -5
- package/lib/routes/pornhub/users.ts +8 -5
- package/lib/routes/pornhub/utils.ts +1 -1
- package/lib/routes/postman/release-notes.ts +5 -3
- package/lib/routes/priconne-redive/news.ts +155 -52
- package/lib/routes/producthunt/today.ts +6 -4
- package/lib/routes/ps/monthly-games.ts +6 -4
- package/lib/routes/pts/curations.ts +6 -4
- package/lib/routes/pts/index.ts +2 -2
- package/lib/routes/pts/live.ts +6 -4
- package/lib/routes/pts/projects.ts +6 -4
- package/lib/routes/pubmed/trending.ts +1 -1
- package/lib/routes/pumc/mdadmission.ts +5 -3
- package/lib/routes/putty/changes.ts +5 -3
- package/lib/routes/pwc/sustainability.ts +5 -3
- package/lib/routes/qbitai/category.ts +5 -3
- package/lib/routes/qbitai/tag.ts +5 -3
- package/lib/routes/qbittorrent/news.ts +8 -9
- package/lib/routes/qdu/houqin.ts +5 -3
- package/lib/routes/qdu/jwc.ts +5 -3
- package/lib/routes/qianzhan/rank.ts +6 -4
- package/lib/routes/qidian/author.ts +6 -4
- package/lib/routes/qidian/chapter.ts +5 -3
- package/lib/routes/qidian/forum.ts +5 -3
- package/lib/routes/qidian/free-next.ts +6 -4
- package/lib/routes/qidian/free.ts +6 -4
- package/lib/routes/qingting/podcast.ts +66 -42
- package/lib/routes/qipamaijia/index.ts +7 -5
- package/lib/routes/qlu/notice.ts +5 -3
- package/lib/routes/qm120/news.ts +5 -3
- package/lib/routes/qoo-app/apps/comment.ts +1 -1
- package/lib/routes/qoo-app/notes/note.ts +1 -1
- package/lib/routes/qoo-app/user/app-comment.ts +1 -1
- package/lib/routes/qq/ac/comic.ts +6 -4
- package/lib/routes/qq/ac/rank.ts +6 -4
- package/lib/routes/qq/ac/utils.ts +1 -1
- package/lib/routes/qq/fact/index.ts +6 -4
- package/lib/routes/qqorw/index.ts +5 -3
- package/lib/routes/questmobile/report.ts +1 -1
- package/lib/routes/quicker/share.ts +5 -3
- package/lib/routes/qust/jw.ts +5 -3
- package/lib/routes/qweather/3days.ts +3 -2
- package/lib/routes/qweather/now.ts +1 -1
- package/lib/routes/radio/album.ts +34 -50
- package/lib/routes/radio/index.ts +1 -1
- package/lib/routes/radio/zhibo.ts +10 -3
- package/lib/routes/radio-canada/latest.ts +5 -3
- package/lib/routes/rarehistoricalphotos/index.ts +6 -4
- package/lib/routes/rattibha/user.ts +5 -3
- package/lib/routes/rawkuma/manga.ts +6 -4
- package/lib/routes/reactiflux/namespace.ts +7 -0
- package/lib/routes/reactiflux/transcripts.ts +103 -0
- package/lib/routes/reactnewsletter/reactnewsletter.ts +6 -4
- package/lib/routes/readhub/daily.ts +13 -8
- package/lib/routes/readhub/index.ts +1 -1
- package/lib/routes/readhub/util.ts +1 -1
- package/lib/routes/remnote/changelog.ts +5 -3
- package/lib/routes/researchgate/publications.ts +6 -4
- package/lib/routes/reuters/common.ts +16 -14
- package/lib/routes/rfi/news.ts +6 -4
- package/lib/routes/rodong/news.ts +6 -4
- package/lib/routes/routledge/book-series.ts +6 -4
- package/lib/routes/rsc/journal.ts +1 -1
- package/lib/routes/rsshub/routes.ts +7 -13
- package/lib/routes/rsshub/transform/html.ts +2 -1
- package/lib/routes/rsshub/transform/json.ts +2 -1
- package/lib/routes/rsshub/transform/sitemap.ts +2 -1
- package/lib/routes/ruancan/category.ts +7 -5
- package/lib/routes/ruancan/index.ts +7 -5
- package/lib/routes/ruancan/search.ts +7 -5
- package/lib/routes/ruancan/user.ts +6 -4
- package/lib/routes/ruancan/utils.ts +2 -1
- package/lib/routes/ruc/hr.ts +5 -3
- package/lib/routes/runtrail/posts.ts +6 -4
- package/lib/routes/rustcc/jobs.ts +5 -3
- package/lib/routes/rustcc/news.ts +55 -0
- package/lib/routes/sakurazaka46/news.ts +5 -3
- package/lib/routes/samsung/research/blog.ts +5 -3
- package/lib/routes/sara/index.ts +66 -0
- package/lib/routes/sara/namespace.ts +6 -0
- package/lib/routes/saraba1st/digest.ts +1 -1
- package/lib/routes/sass/gs/index.ts +5 -3
- package/lib/routes/scau/yjs.ts +5 -3
- package/lib/routes/scau/yjsy.ts +5 -3
- package/lib/routes/science/blogs.ts +6 -4
- package/lib/routes/science/cover.ts +6 -4
- package/lib/routes/science/current.ts +6 -4
- package/lib/routes/science/early.ts +6 -4
- package/lib/routes/science/utils.ts +1 -1
- package/lib/routes/sciencedirect/journal.ts +5 -3
- package/lib/routes/sciencenet/user.ts +5 -3
- package/lib/routes/scmp/index.ts +5 -3
- package/lib/routes/scmp/topic.ts +5 -3
- package/lib/routes/scnu/cs/match.ts +5 -3
- package/lib/routes/scnu/jw.ts +5 -3
- package/lib/routes/scnu/library.ts +5 -3
- package/lib/routes/scnu/ss.ts +5 -3
- package/lib/routes/scnu/yjs.ts +5 -3
- package/lib/routes/sctv/programme.ts +1 -1
- package/lib/routes/scut/seie/news-ccenter.ts +5 -3
- package/lib/routes/scut/yjs.ts +5 -3
- package/lib/routes/scvtc/xygg.ts +5 -3
- package/lib/routes/sdu/data.ts +2 -2
- package/lib/routes/sdu/extractor/index.ts +2 -1
- package/lib/routes/sdu/extractor/sdrj.ts +2 -1
- package/lib/routes/sdu/extractor/view.ts +2 -1
- package/lib/routes/sdu/extractor/wh/jwc.ts +2 -1
- package/lib/routes/sdu/extractor/wh/news.ts +2 -1
- package/lib/routes/seekingalpha/index.ts +66 -29
- package/lib/routes/seekingalpha/templates/summary.art +4 -0
- package/lib/routes/sega/maimaidx.ts +64 -0
- package/lib/routes/sega/pjsekai.ts +5 -3
- package/lib/routes/segmentfault/blogs.ts +5 -3
- package/lib/routes/segmentfault/channel.ts +5 -3
- package/lib/routes/segmentfault/user.ts +5 -3
- package/lib/routes/sehuatang/index.ts +1 -5
- package/lib/routes/sehuatang/user.ts +2 -1
- package/lib/routes/sensortower/blog.ts +7 -5
- package/lib/routes/setn/index.ts +6 -4
- package/lib/routes/seu/cse/index.ts +5 -3
- package/lib/routes/seu/radio/academic.ts +5 -3
- package/lib/routes/seu/yjs.ts +5 -3
- package/lib/routes/seu/yzb/index.ts +5 -3
- package/lib/routes/sfacg/novel-chapter.ts +5 -3
- package/lib/routes/shcstheatre/programs.ts +6 -4
- package/lib/routes/shiep/config.ts +1 -1
- package/lib/routes/shiep/index.ts +8 -13
- package/lib/routes/shiep/radar.ts +317 -0
- package/lib/routes/shisu/news.ts +5 -3
- package/lib/routes/shmeea/self-study.ts +5 -3
- package/lib/routes/shmtu/jwc.ts +5 -3
- package/lib/routes/shmtu/portal.ts +6 -4
- package/lib/routes/shmtu/www.ts +5 -3
- package/lib/routes/shoac/recent-show.ts +6 -4
- package/lib/routes/shopback/store.ts +5 -3
- package/lib/routes/shopify/apps/[handle].reviews.ts +78 -0
- package/lib/routes/shopify/apps/const.ts +1 -0
- package/lib/routes/shopify/apps/search.ts +82 -0
- package/lib/routes/shopify/namespace.ts +6 -0
- package/lib/routes/shoppingdesign/posts.ts +5 -3
- package/lib/routes/showstart/artist.ts +5 -3
- package/lib/routes/showstart/brand.ts +5 -3
- package/lib/routes/shu/index.ts +6 -4
- package/lib/routes/shu/jwb.ts +6 -4
- package/lib/routes/shuiguopai/index.ts +7 -5
- package/lib/routes/sicau/dky.ts +5 -3
- package/lib/routes/sicau/yan.ts +5 -3
- package/lib/routes/sicau/zsjy.ts +5 -3
- package/lib/routes/sigsac/ccs.ts +5 -3
- package/lib/routes/simpleinfo/index.ts +7 -5
- package/lib/routes/sina/chuangshiji.ts +5 -3
- package/lib/routes/sina/finance/china.ts +6 -4
- package/lib/routes/sina/finance/stock/usstock.ts +6 -4
- package/lib/routes/sina/utils.ts +1 -1
- package/lib/routes/sinchew/index.ts +7 -5
- package/lib/routes/sjtu/gs.ts +6 -4
- package/lib/routes/sjtu/seiee/utils.ts +1 -1
- package/lib/routes/sjtu/tongqu/activity.ts +1 -1
- package/lib/routes/slowmist/slowmist.ts +5 -3
- package/lib/routes/smashingmagazine/category.ts +6 -4
- package/lib/routes/smzdm/article.ts +7 -5
- package/lib/routes/smzdm/baoliao.ts +5 -3
- package/lib/routes/smzdm/haowen-fenlei.ts +6 -4
- package/lib/routes/snowpeak/us-new-arrivals.ts +6 -4
- package/lib/routes/sobooks/date.ts +7 -5
- package/lib/routes/sobooks/index.ts +7 -5
- package/lib/routes/sobooks/tag.ts +7 -5
- package/lib/routes/sobooks/utils.ts +2 -1
- package/lib/routes/sogou/search.ts +1 -1
- package/lib/routes/sohu/mp.ts +1 -1
- package/lib/routes/solidot/main.ts +2 -1
- package/lib/routes/sony/downloads.ts +5 -3
- package/lib/routes/soundofhope/channel.ts +5 -3
- package/lib/routes/southcn/nfapp/column.ts +1 -1
- package/lib/routes/southcn/nfapp/reporter.ts +1 -1
- package/lib/routes/spotify/artist.ts +5 -3
- package/lib/routes/spotify/artists-top.ts +5 -3
- package/lib/routes/spotify/playlist.ts +5 -3
- package/lib/routes/spotify/saved.ts +6 -4
- package/lib/routes/spotify/show.ts +5 -3
- package/lib/routes/spotify/tracks-top.ts +5 -3
- package/lib/routes/spotify/utils.ts +3 -2
- package/lib/routes/springer/journal.ts +6 -4
- package/lib/routes/sqmc/www.ts +5 -3
- package/lib/routes/sse/inquire.ts +6 -4
- package/lib/routes/sse/renewal.ts +6 -4
- package/lib/routes/ssm/news.ts +6 -4
- package/lib/routes/sspai/activity.ts +6 -4
- package/lib/routes/sspai/author.ts +7 -4
- package/lib/routes/sspai/bookmarks.ts +5 -3
- package/lib/routes/sspai/column.ts +5 -3
- package/lib/routes/sspai/index.ts +5 -3
- package/lib/routes/sspai/matrix.ts +5 -3
- package/lib/routes/sspai/series-update.ts +5 -3
- package/lib/routes/sspai/series.ts +5 -3
- package/lib/routes/sspai/shortcuts-gallery.ts +5 -3
- package/lib/routes/sspai/tag.ts +5 -3
- package/lib/routes/sspai/topic.ts +5 -3
- package/lib/routes/sspai/topics.ts +5 -3
- package/lib/routes/sspu/jwc.ts +5 -3
- package/lib/routes/sspu/pe.ts +6 -4
- package/lib/routes/startuplatte/index.ts +5 -3
- package/lib/routes/stbu/jsjxy.ts +6 -4
- package/lib/routes/stbu/xyxw.ts +5 -3
- package/lib/routes/stdaily/digitalpaper.ts +1 -1
- package/lib/routes/steam/namespace.ts +6 -0
- package/lib/routes/steam/search.ts +64 -0
- package/lib/routes/stockedge/daily-news.ts +5 -3
- package/lib/routes/storm/index.ts +5 -3
- package/lib/routes/storyfm/episodes.ts +6 -4
- package/lib/routes/storyfm/index.ts +5 -3
- package/lib/routes/stratechery/index.ts +15 -18
- package/lib/routes/studygolang/go.ts +6 -4
- package/lib/routes/studygolang/jobs.ts +1 -1
- package/lib/routes/studygolang/weekly.ts +1 -1
- package/lib/routes/supchina/index.ts +6 -4
- package/lib/routes/supchina/podcasts.ts +5 -3
- package/lib/routes/surfshark/blog.ts +1 -1
- package/lib/routes/sustech/bidding.ts +5 -3
- package/lib/routes/sustech/newshub-zh.ts +5 -3
- package/lib/routes/sustech/yjs.ts +5 -3
- package/lib/routes/swissinfo/index.ts +5 -3
- package/lib/routes/swjtu/jwc.ts +5 -3
- package/lib/routes/swjtu/jyzpxx.ts +5 -3
- package/lib/routes/swjtu/utils.ts +1 -1
- package/lib/routes/swjtu/xg.ts +8 -5
- package/lib/routes/swpu/bgw.ts +6 -4
- package/lib/routes/swpu/cjxy.ts +6 -4
- package/lib/routes/swpu/dean.ts +6 -4
- package/lib/routes/swpu/dxy.ts +6 -4
- package/lib/routes/swpu/is.ts +6 -4
- package/lib/routes/swpu/scs.ts +6 -4
- package/lib/routes/syosetu/chapter.ts +5 -3
- package/lib/routes/sysu/cse.ts +5 -3
- package/lib/routes/sysu/ygafz.ts +13 -4
- package/lib/routes/szse/inquire.ts +7 -5
- package/lib/routes/szse/notice.ts +5 -3
- package/lib/routes/szse/projectdynamic.ts +6 -4
- package/lib/routes/szse/rule.ts +5 -3
- package/lib/routes/taiwannews/hot.ts +6 -4
- package/lib/routes/tangshufang/index.ts +5 -3
- package/lib/routes/taobao/zhongchou.ts +1 -1
- package/lib/routes/taoguba/blog.ts +5 -3
- package/lib/routes/taptap/changelog.ts +6 -4
- package/lib/routes/taptap/review.ts +9 -11
- package/lib/routes/taptap/topic.ts +9 -9
- package/lib/routes/taptap/utils.ts +1 -1
- package/lib/routes/tass/news.ts +6 -4
- package/lib/routes/techcrunch/news.ts +5 -3
- package/lib/routes/techflowpost/express.ts +5 -3
- package/lib/routes/techflowpost/index.ts +6 -4
- package/lib/routes/techpowerup/index.ts +6 -4
- package/lib/routes/techpowerup/review.ts +6 -4
- package/lib/routes/telegram/blog.ts +8 -6
- package/lib/routes/telegram/channel.ts +21 -8
- package/lib/routes/telegram/stickerpack.ts +2 -1
- package/lib/routes/telegram/tglib/channel.ts +6 -12
- package/lib/routes/telegram/tglib/client.ts +27 -32
- package/lib/routes/tencent/news/author.ts +6 -4
- package/lib/routes/tencent/news/coronavirus/data.ts +3 -2
- package/lib/routes/tencent/news/coronavirus/total.ts +6 -4
- package/lib/routes/tencent/qq/sdk/changelog.ts +2 -1
- package/lib/routes/tesla/cx.ts +1 -1
- package/lib/routes/tesla/price/index.ts +5 -3
- package/lib/routes/test/index.ts +22 -8
- package/lib/routes/tfc-taiwan/utils.ts +1 -1
- package/lib/routes/tgbus/list.ts +67 -0
- package/lib/routes/tgbus/namespace.ts +6 -0
- package/lib/routes/tgbus/utils.ts +19 -0
- package/lib/routes/theatlantic/news.ts +5 -3
- package/lib/routes/theatlantic/utils.ts +1 -1
- package/lib/routes/thecatcity/index.ts +6 -4
- package/lib/routes/thehindu/topic.ts +5 -3
- package/lib/routes/themoviedb/api-key.ts +2 -1
- package/lib/routes/themoviedb/utils.ts +1 -1
- package/lib/routes/thenewslens/index.ts +1 -1
- package/lib/routes/thepaper/839studio/category.ts +5 -3
- package/lib/routes/thepaper/factpaper.ts +7 -5
- package/lib/routes/thepaper/featured.ts +5 -3
- package/lib/routes/thepaper/sidebar.ts +6 -4
- package/lib/routes/thepaper/utils.ts +1 -1
- package/lib/routes/theverge/index.ts +5 -3
- package/lib/routes/thoughtco/index.ts +1 -1
- package/lib/routes/threads/index.ts +36 -38
- package/lib/routes/threads/utils.ts +44 -12
- package/lib/routes/thwiki/index.ts +6 -4
- package/lib/routes/tiktok/user.ts +7 -5
- package/lib/routes/timednews/news.ts +3 -7
- package/lib/routes/tingshuitz/dalian.ts +5 -3
- package/lib/routes/tingshuitz/hangzhou.ts +5 -3
- package/lib/routes/tingshuitz/nanjing.ts +5 -3
- package/lib/routes/tingshuitz/shenzhen.ts +6 -4
- package/lib/routes/tingshuitz/wuhan.ts +6 -4
- package/lib/routes/tingshuitz/xiaoshan.ts +5 -3
- package/lib/routes/tingshuitz/yangjiang.ts +5 -3
- package/lib/routes/tingtingfm/program.ts +6 -4
- package/lib/routes/tokeninsight/blog.ts +6 -4
- package/lib/routes/tokeninsight/bulletin.ts +6 -4
- package/lib/routes/tokeninsight/report.ts +6 -4
- package/lib/routes/tongji/bks.ts +5 -3
- package/lib/routes/tongji/yjs.ts +5 -3
- package/lib/routes/tophub/index.ts +5 -3
- package/lib/routes/tophub/list.ts +6 -4
- package/lib/routes/topys/index.ts +5 -3
- package/lib/routes/tradingview/blog.ts +1 -1
- package/lib/routes/tradingview/desktop.ts +5 -3
- package/lib/routes/tradingview/pine.ts +6 -4
- package/lib/routes/transcriptforest/index.ts +7 -5
- package/lib/routes/trending/all-trending.ts +3 -2
- package/lib/routes/tribalfootball/latest.ts +7 -5
- package/lib/routes/trow/portal.ts +5 -3
- package/lib/routes/tvb/news.ts +6 -4
- package/lib/routes/tvtropes/featured.ts +1 -1
- package/lib/routes/twitch/schedule.ts +7 -4
- package/lib/routes/twitch/video.ts +10 -7
- package/lib/routes/twitter/{developer-api → api/developer-api}/search.ts +3 -2
- package/lib/routes/twitter/{developer-api → api/developer-api}/user.ts +3 -2
- package/lib/routes/twitter/api/index.ts +42 -0
- package/lib/routes/twitter/{web-api/twitter-api.ts → api/mobile-api/api.ts} +5 -3
- package/lib/routes/twitter/{web-api → api/mobile-api}/login.ts +8 -7
- package/lib/routes/twitter/{web-api → api/mobile-api}/token.ts +2 -1
- package/lib/routes/twitter/api/web-api/api.ts +185 -0
- package/lib/routes/twitter/api/web-api/constants.ts +81 -0
- package/lib/routes/twitter/api/web-api/utils.ts +125 -0
- package/lib/routes/twitter/home.ts +60 -0
- package/lib/routes/twitter/keyword.ts +25 -4
- package/lib/routes/twitter/likes.ts +2 -1
- package/lib/routes/twitter/list.ts +30 -31
- package/lib/routes/twitter/media.ts +33 -5
- package/lib/routes/twitter/namespace.ts +8 -1
- package/lib/routes/twitter/trends.ts +2 -1
- package/lib/routes/twitter/tweet.ts +23 -4
- package/lib/routes/twitter/user.ts +43 -4
- package/lib/routes/twitter/utils.ts +12 -1
- package/lib/routes/twreporter/category.ts +71 -0
- package/lib/routes/twreporter/fetch-article.ts +87 -50
- package/lib/routes/twreporter/newest.ts +14 -15
- package/lib/routes/twreporter/templates/image.art +3 -0
- package/lib/routes/twreporter/templates/youtube.art +1 -0
- package/lib/routes/txrjy/fornumtopic.ts +1 -1
- package/lib/routes/tynu/tynu.ts +6 -4
- package/lib/routes/typora/changelog-dev.ts +6 -4
- package/lib/routes/typora/changelog.ts +5 -3
- package/lib/routes/u9a9/index.ts +6 -4
- package/lib/routes/uber/blog.ts +6 -4
- package/lib/routes/ucas/ai.ts +5 -3
- package/lib/routes/ucas/rader.ts +4 -4
- package/lib/routes/uchicago/current.ts +5 -3
- package/lib/routes/udn/breaking-news.ts +6 -4
- package/lib/routes/udn/global/index.ts +5 -3
- package/lib/routes/udn/global/tag.ts +5 -3
- package/lib/routes/uestc/auto.ts +5 -3
- package/lib/routes/uestc/cqe.ts +8 -5
- package/lib/routes/uestc/gr.ts +5 -3
- package/lib/routes/uestc/jwc.ts +8 -5
- package/lib/routes/uestc/news.ts +8 -5
- package/lib/routes/uestc/scse.ts +5 -3
- package/lib/routes/uestc/sice.ts +5 -3
- package/lib/routes/uestc/sise.ts +8 -5
- package/lib/routes/uibe/hr.ts +5 -3
- package/lib/routes/ulapia/research.ts +5 -3
- package/lib/routes/unraid/community-apps.ts +5 -3
- package/lib/routes/unusualwhales/news.ts +5 -3
- package/lib/routes/upc/yjs.ts +5 -3
- package/lib/routes/uptimerobot/rss.ts +11 -8
- package/lib/routes/uraaka-joshi/uraaka-joshi-user.ts +5 -3
- package/lib/routes/uraaka-joshi/uraaka-joshi.ts +6 -4
- package/lib/routes/urbandictionary/random.ts +6 -4
- package/lib/routes/usenix/loginonline.ts +63 -0
- package/lib/routes/usenix/usenix.ts +5 -3
- package/lib/routes/ustb/tj/news.ts +1 -1
- package/lib/routes/ustb/yjsy/news.ts +5 -3
- package/lib/routes/ustb/yzxc/tzgg.ts +5 -3
- package/lib/routes/ustc/eeis.ts +8 -5
- package/lib/routes/ustc/gs.ts +8 -5
- package/lib/routes/ustc/index.ts +6 -4
- package/lib/routes/ustc/job.ts +6 -4
- package/lib/routes/ustc/jwc.ts +6 -4
- package/lib/routes/ustc/math.ts +94 -0
- package/lib/routes/ustc/sist.ts +8 -5
- package/lib/routes/utgd/category.ts +7 -5
- package/lib/routes/utgd/timeline.ts +6 -4
- package/lib/routes/utgd/topic.ts +9 -6
- package/lib/routes/uw/gix/news.ts +5 -3
- package/lib/routes/v1tx/index.ts +6 -4
- package/lib/routes/v2ex/post.ts +5 -3
- package/lib/routes/v2rayshare/index.ts +6 -4
- package/lib/routes/vcb-s/category.ts +6 -4
- package/lib/routes/vcb-s/index.ts +7 -5
- package/lib/routes/verfghbw/press.ts +6 -4
- package/lib/routes/vimeo/category.ts +1 -1
- package/lib/routes/vimeo/channel.ts +6 -4
- package/lib/routes/vimeo/usr-videos.ts +2 -2
- package/lib/routes/vocus/publication.ts +5 -3
- package/lib/routes/vom/featured.ts +6 -4
- package/lib/routes/wallhaven/index.ts +5 -3
- package/lib/routes/wallpaperhub/index.ts +7 -5
- package/lib/routes/wallstreetcn/hot.ts +5 -3
- package/lib/routes/wallstreetcn/live.ts +7 -5
- package/lib/routes/wallstreetcn/news.ts +5 -3
- package/lib/routes/wanqu/news.ts +5 -3
- package/lib/routes/warthunder/news.ts +6 -4
- package/lib/routes/watasuke/blog.ts +42 -0
- package/lib/routes/watasuke/namespace.ts +7 -0
- package/lib/routes/web/articles.ts +25 -0
- package/lib/routes/web/blog.ts +25 -0
- package/lib/routes/web/namespace.ts +6 -0
- package/lib/routes/web/series.ts +32 -0
- package/lib/routes/web/utils.ts +68 -0
- package/lib/routes/wechat/announce.ts +5 -3
- package/lib/routes/wechat/ce.ts +5 -3
- package/lib/routes/wechat/data258.ts +8 -5
- package/lib/routes/wechat/feeddd.ts +8 -12
- package/lib/routes/wechat/tgchannel.ts +1 -1
- package/lib/routes/weekendhk/posts.ts +6 -4
- package/lib/routes/weibo/friends.ts +8 -5
- package/lib/routes/weibo/group.ts +2 -1
- package/lib/routes/weibo/oasis/user.ts +6 -4
- package/lib/routes/weibo/search/hot.ts +6 -6
- package/lib/routes/weibo/super-index.ts +6 -4
- package/lib/routes/weibo/user.ts +6 -4
- package/lib/routes/wfdf/news.ts +5 -3
- package/lib/routes/wfu/jwc.ts +5 -3
- package/lib/routes/wfu/news.ts +7 -5
- package/lib/routes/whitehouse/briefing-room.ts +6 -4
- package/lib/routes/whitehouse/ostp.ts +5 -3
- package/lib/routes/who/news-room.ts +6 -4
- package/lib/routes/who/news.ts +6 -4
- package/lib/routes/who/speeches.ts +6 -4
- package/lib/routes/whu/gs/index.ts +6 -4
- package/lib/routes/whu/news.ts +1 -1
- package/lib/routes/whu/util.ts +1 -1
- package/lib/routes/wikinews/index.ts +5 -3
- package/lib/routes/winstall/update.ts +6 -4
- package/lib/routes/wise/pair.ts +1 -1
- package/lib/routes/wizfile/index.ts +5 -3
- package/lib/routes/wmc-bj/publish.ts +1 -1
- package/lib/routes/wmpvp/index.ts +28 -15
- package/lib/routes/wnacg/index.ts +9 -6
- package/lib/routes/wordpress/index.ts +172 -0
- package/lib/routes/wordpress/namespace.ts +8 -0
- package/lib/routes/wordpress/util.ts +307 -0
- package/lib/routes/worldjournal/index.ts +6 -4
- package/lib/routes/woshipm/popular.ts +6 -4
- package/lib/routes/woshipm/user-article.ts +5 -3
- package/lib/routes/woshipm/wen.ts +5 -3
- package/lib/routes/wsj/utils.ts +1 -1
- package/lib/routes/wtu/job.ts +5 -3
- package/lib/routes/wyzxwk/article.ts +5 -3
- package/lib/routes/x-mol/news.ts +7 -5
- package/lib/routes/x6d/index.ts +79 -37
- package/lib/routes/xboxfan/news.ts +5 -3
- package/lib/routes/xianbao/index.ts +142 -0
- package/lib/routes/xianbao/namespace.ts +6 -0
- package/lib/routes/xiaoheihe/add2cart.ts +63 -0
- package/lib/routes/xiaoheihe/discount.ts +102 -0
- package/lib/routes/xiaoheihe/namespace.ts +6 -0
- package/lib/routes/xiaoheihe/news.ts +60 -0
- package/lib/routes/xiaoheihe/user.ts +69 -0
- package/lib/routes/xiaoheihe/util.ts +75 -0
- package/lib/routes/xiaohongshu/board.ts +5 -3
- package/lib/routes/xiaohongshu/notes.ts +6 -4
- package/lib/routes/xiaohongshu/user.ts +3 -2
- package/lib/routes/xiaomiyoupin/crowdfunding.ts +6 -4
- package/lib/routes/xiaomiyoupin/latest.ts +5 -3
- package/lib/routes/xiaomiyoupin/utils.ts +1 -1
- package/lib/routes/xiaote/index.ts +5 -3
- package/lib/routes/xiaoyuzhou/pickup.ts +6 -4
- package/lib/routes/xiaoyuzhou/podcast.ts +5 -3
- package/lib/routes/xiaozhuanlan/column.ts +5 -3
- package/lib/routes/xinpianchang/util.ts +1 -1
- package/lib/routes/xjtu/dean.ts +22 -23
- package/lib/routes/xjtu/ee.ts +5 -3
- package/lib/routes/xjtu/gs/tzgg.ts +5 -3
- package/lib/routes/xjtu/job.ts +1 -1
- package/lib/routes/xjtu/std.ts +1 -1
- package/lib/routes/xkb/index.ts +1 -1
- package/lib/routes/xmanhua/index.ts +5 -3
- package/lib/routes/xmnn/epaper.ts +6 -4
- package/lib/routes/xsijishe/forum.ts +1 -1
- package/lib/routes/xsijishe/rank.ts +2 -1
- package/lib/routes/xueqiu/column.ts +5 -3
- package/lib/routes/xueqiu/favorite.ts +5 -3
- package/lib/routes/xueqiu/hots.ts +5 -3
- package/lib/routes/xueqiu/snb.ts +5 -3
- package/lib/routes/xueqiu/stock-comments.ts +6 -4
- package/lib/routes/xueqiu/stock-info.ts +6 -4
- package/lib/routes/xueqiu/timeline.ts +94 -0
- package/lib/routes/xueqiu/today.ts +5 -3
- package/lib/routes/xueqiu/user-stock.ts +19 -20
- package/lib/routes/xueqiu/user.ts +10 -7
- package/lib/routes/xunhupay/index.ts +24 -25
- package/lib/routes/xys/new.ts +6 -4
- package/lib/routes/xyzrank/index.ts +7 -5
- package/lib/routes/yahoo/news/tw/index.ts +7 -4
- package/lib/routes/yahoo/news/tw/provider-helper.ts +2 -1
- package/lib/routes/yahoo/news/tw/provider.ts +2 -1
- package/lib/routes/yahoo/news/tw/utils.ts +1 -1
- package/lib/routes/yahoo/news/us/index.ts +2 -1
- package/lib/routes/yande/namespace.ts +7 -0
- package/lib/{routes-deprecated/yande.re/post-popular-recent.js → routes/yande/post.ts} +27 -6
- package/lib/routes/ycwb/index.ts +1 -1
- package/lib/routes/ygkkk/namespace.ts +6 -0
- package/lib/routes/ygkkk/rss.ts +48 -0
- package/lib/routes/yicai/author.ts +6 -4
- package/lib/routes/yicai/brief.ts +5 -3
- package/lib/routes/yicai/dt.ts +1 -1
- package/lib/routes/yicai/feed.ts +6 -4
- package/lib/routes/yicai/headline.ts +5 -3
- package/lib/routes/yicai/latest.ts +5 -3
- package/lib/routes/yicai/news.ts +6 -4
- package/lib/routes/yicai/utils.ts +1 -1
- package/lib/routes/yicai/video.ts +6 -4
- package/lib/routes/yicai/vip.ts +6 -4
- package/lib/routes/ymgal/game.ts +6 -4
- package/lib/routes/yoasobi-music/info.ts +7 -5
- package/lib/routes/yoasobi-music/live.ts +6 -4
- package/lib/routes/yoasobi-music/media.ts +6 -4
- package/lib/routes/yomiuri/news.ts +5 -3
- package/lib/routes/yomujp/level.ts +6 -4
- package/lib/routes/youku/channel.ts +7 -5
- package/lib/routes/youtube/channel.ts +16 -7
- package/lib/routes/youtube/charts.ts +5 -12
- package/lib/routes/youtube/community.ts +2 -10
- package/lib/routes/youtube/custom.ts +14 -8
- package/lib/routes/youtube/live.ts +2 -1
- package/lib/routes/youtube/playlist.ts +2 -1
- package/lib/routes/youtube/subscriptions.ts +11 -14
- package/lib/routes/youtube/user.ts +8 -5
- package/lib/routes/youtube/utils.ts +112 -102
- package/lib/routes/youzhiyouxing/materials.ts +6 -4
- package/lib/routes/yuque/book.ts +5 -3
- package/lib/routes/yxdown/recommend.ts +5 -3
- package/lib/routes/yxdzqb/index.ts +6 -4
- package/lib/routes/yxrb/home.ts +6 -4
- package/lib/routes/yyets/today.ts +5 -3
- package/lib/routes/yystv/docs.ts +5 -3
- package/lib/routes/zagg/new-arrivals.ts +1 -1
- package/lib/routes/zaker/index.ts +6 -4
- package/lib/routes/zaobao/util.ts +1 -1
- package/lib/routes/zaozao/article.ts +6 -4
- package/lib/routes/zcool/discover.ts +1 -1
- package/lib/routes/zcool/user.ts +14 -6
- package/lib/routes/zcool/utils.ts +1 -1
- package/lib/routes/zhibo8/luxiang.ts +6 -4
- package/lib/routes/zhibo8/more.ts +11 -5
- package/lib/routes/zhihu/activities.ts +10 -7
- package/lib/routes/zhihu/answers.ts +5 -3
- package/lib/routes/zhihu/collection.ts +6 -4
- package/lib/routes/zhihu/daily-section.ts +6 -4
- package/lib/routes/zhihu/daily.ts +9 -7
- package/lib/routes/zhihu/hotlist.ts +5 -3
- package/lib/routes/zhihu/pin/daily.ts +6 -4
- package/lib/routes/zhihu/pin/hotlist.ts +5 -3
- package/lib/routes/zhihu/pin/people.ts +5 -3
- package/lib/routes/zhihu/posts.ts +5 -3
- package/lib/routes/zhihu/question.ts +6 -4
- package/lib/routes/zhihu/timeline.ts +13 -8
- package/lib/routes/zhihu/topic.ts +6 -4
- package/lib/routes/zhihu/utils.ts +6 -2
- package/lib/routes/zhihu/weekly.ts +5 -3
- package/lib/routes/zhihu/xhu/activities.ts +6 -4
- package/lib/routes/zhihu/xhu/answers.ts +6 -4
- package/lib/routes/zhihu/xhu/auth.ts +7 -15
- package/lib/routes/zhihu/xhu/collection.ts +5 -3
- package/lib/routes/zhihu/xhu/question.ts +6 -4
- package/lib/routes/zhihu/xhu/topic.ts +6 -4
- package/lib/routes/zhihu/xhu/zhuanlan.ts +6 -4
- package/lib/routes/zhihu/zhuanlan.ts +5 -3
- package/lib/routes/zhitongcaijing/index.ts +1 -1
- package/lib/routes/zhiy/letter.ts +5 -3
- package/lib/routes/zhiy/post.ts +6 -4
- package/lib/routes/zhonglun/index.ts +135 -0
- package/lib/routes/zhonglun/namespace.ts +8 -0
- package/lib/routes/zhonglun/templates/description.art +7 -0
- package/lib/routes/zhubai/index.ts +4 -3
- package/lib/routes/zhubai/top20.ts +7 -5
- package/lib/routes/zhujiceping/rss.ts +8 -5
- package/lib/routes/zhuwang/index.ts +6 -4
- package/lib/routes/zimuxia/portfolio.ts +5 -3
- package/lib/routes/zjol/paper.ts +2 -1
- package/lib/routes/zju/cst/index.ts +4 -1
- package/lib/routes/zjut/da/index.ts +92 -0
- package/lib/routes/zjut/namespace.ts +6 -0
- package/lib/routes/zjut/news.ts +82 -0
- package/lib/routes/zodgame/forum.ts +3 -2
- package/lib/routes/zotero/versions.ts +5 -3
- package/lib/routes/zrblog/rss.ts +8 -5
- package/lib/routes/zsxq/group.ts +63 -0
- package/lib/routes/zsxq/namespace.ts +6 -0
- package/lib/routes/zsxq/types.ts +149 -0
- package/lib/routes/zsxq/user.ts +58 -0
- package/lib/routes/zsxq/utils.ts +70 -0
- package/lib/routes/zuel/notice.ts +5 -3
- package/lib/routes/zuvio/utils.ts +1 -1
- package/lib/routes/zyshow/index.ts +1 -1
- package/lib/routes-deprecated/disqus/posts.js +1 -1
- package/lib/routes-deprecated/fanfou/favorites.js +1 -1
- package/lib/routes-deprecated/fanfou/home-timeline.js +1 -1
- package/lib/routes-deprecated/fanfou/public-timeline.js +1 -1
- package/lib/routes-deprecated/fanfou/user-timeline.js +1 -1
- package/lib/routes-deprecated/index.js +1 -1
- package/lib/routes-deprecated/lastfm/loved.js +1 -1
- package/lib/routes-deprecated/lastfm/recent.js +1 -1
- package/lib/routes-deprecated/lastfm/top.js +1 -1
- package/lib/routes.test.ts +78 -0
- package/lib/setup.test.ts +248 -0
- package/lib/types.ts +160 -7
- package/lib/utils/common-config.test.ts +0 -18
- package/lib/utils/common-config.ts +6 -6
- package/lib/utils/git-hash.ts +3 -3
- package/lib/utils/got-deprecated.ts +79 -0
- package/lib/utils/got.test.ts +49 -61
- package/lib/utils/got.ts +84 -81
- package/lib/utils/helpers.ts +1 -1
- package/lib/utils/logger.ts +1 -1
- package/lib/utils/ofetch.test.ts +51 -0
- package/lib/utils/ofetch.ts +17 -0
- package/lib/utils/proxy/index.ts +19 -5
- package/lib/utils/puppeteer-utils.test.ts +3 -3
- package/lib/utils/puppeteer.test.ts +2 -2
- package/lib/utils/puppeteer.ts +1 -24
- package/lib/utils/rand-user-agent.test.ts +5 -20
- package/lib/utils/rand-user-agent.ts +2 -1
- package/lib/utils/render.ts +3 -1
- package/lib/utils/request-rewriter/fetch.ts +50 -0
- package/lib/utils/request-rewriter/get.ts +77 -0
- package/lib/utils/request-rewriter/index.ts +19 -0
- package/lib/utils/request-rewriter.test.ts +137 -0
- package/lib/utils/rss-parser.test.ts +4 -12
- package/lib/utils/timezone.ts +1 -1
- package/lib/utils/wechat-mp.test.ts +412 -50
- package/lib/utils/wechat-mp.ts +448 -79
- package/lib/views/atom.tsx +49 -0
- package/lib/views/error.tsx +75 -21
- package/lib/views/index.tsx +2 -2
- package/lib/views/rss.tsx +54 -0
- package/lib/views/{rss3-ums.ts → rss3.ts} +2 -2
- package/package.json +74 -75
- package/lib/errors/not-found.ts +0 -3
- package/lib/errors/reject.ts +0 -3
- package/lib/errors/request-in-progress.ts +0 -3
- package/lib/routes/500px/user.ts +0 -58
- package/lib/routes/douban/other/latest-book.ts +0 -38
- package/lib/routes/twitter/api-fallback-common.ts +0 -17
- package/lib/routes/twitter/collection.ts +0 -86
- package/lib/routes/twitter/followings.ts +0 -75
- package/lib/routes/twitter/web-api/media.ts +0 -25
- package/lib/routes/twitter/web-api/search.ts +0 -18
- package/lib/routes/twitter/web-api/tweet.ts +0 -27
- package/lib/routes/twitter/web-api/user.ts +0 -30
- package/lib/routes/wechat/feeds.ts +0 -23
- package/lib/routes/wechat/wxnmh.ts +0 -45
- package/lib/routes/zhangyoubao/index.ts +0 -70
- package/lib/routes/zhangyoubao/templates/article.art +0 -1
- package/lib/routes-deprecated/005tv/zx.js +0 -24
- package/lib/routes-deprecated/1x/index.js +0 -69
- package/lib/routes-deprecated/blogs/wordpress.js +0 -50
- package/lib/routes-deprecated/fanxinzhui/latest.js +0 -52
- package/lib/routes-deprecated/infzm/news.js +0 -62
- package/lib/routes-deprecated/ipsw/index.js +0 -107
- package/lib/routes-deprecated/kaopunews/index.js +0 -28
- package/lib/routes-deprecated/manxiaosi/book.js +0 -49
- package/lib/routes-deprecated/miniflux/get-feeds.js +0 -90
- package/lib/routes-deprecated/modian/zhongchou.js +0 -57
- package/lib/routes-deprecated/pcr/news-cn.js +0 -28
- package/lib/routes-deprecated/pcr/news-tw.js +0 -67
- package/lib/routes-deprecated/pediy/topic.js +0 -117
- package/lib/routes-deprecated/pediy/utils.js +0 -27
- package/lib/routes-deprecated/steam/search.js +0 -57
- package/lib/routes-deprecated/xiaoheihe/discount.js +0 -71
- package/lib/routes-deprecated/xiaoheihe/news.js +0 -51
- package/lib/routes-deprecated/xiaoheihe/user.js +0 -51
- package/lib/utils/request-wrapper.test.ts +0 -365
- package/lib/utils/request-wrapper.ts +0 -104
- package/lib/views/atom.art +0 -86
- package/lib/views/rss.art +0 -60
- /package/lib/routes/twitter/{web-api → api/mobile-api}/constants.ts +0 -0
package/README.md
CHANGED
|
@@ -31,7 +31,7 @@ RSSHub can be used with browser extension [RSSHub Radar](https://github.com/DIYg
|
|
|
31
31
|
<a href="https://rss3.io" target="_blank"><img height="50px" src="https://i.imgur.com/lb1dDGK.png"></a> <a href="https://xlog.app/" target="_blank"><img height="50px" src="https://i.imgur.com/JuhHTKD.png"></a>
|
|
32
32
|
</p>
|
|
33
33
|
|
|
34
|
-
[](https://docs.rsshub.app/
|
|
34
|
+
[](https://docs.rsshub.app/sponsor/)
|
|
35
35
|
|
|
36
36
|
### Contributors
|
|
37
37
|
|
|
@@ -54,15 +54,15 @@ Logo designer [sheldonrrr](https://dribbble.com/sheldonrrr)
|
|
|
54
54
|
|
|
55
55
|
We welcome all pull requests. Suggestions and feedback are also welcomed [here](https://github.com/DIYgod/RSSHub/issues).
|
|
56
56
|
|
|
57
|
-
Refer to [Join Us](https://docs.rsshub.app/joinus/
|
|
57
|
+
Refer to [Join Us](https://docs.rsshub.app/joinus/)
|
|
58
58
|
|
|
59
59
|
## Deployment
|
|
60
60
|
|
|
61
|
-
Refer to [Deployment](https://docs.rsshub.app/
|
|
61
|
+
Refer to [Deployment](https://docs.rsshub.app/deploy/)
|
|
62
62
|
|
|
63
63
|
## Support RSSHub
|
|
64
64
|
|
|
65
|
-
Refer to [Support RSSHub](https://docs.rsshub.app/
|
|
65
|
+
Refer to [Support RSSHub](https://docs.rsshub.app/sponsor/)
|
|
66
66
|
|
|
67
67
|
RSSHub is open source and completely free under the MIT license. However, just like any other open source project, as the project grows, the hosting, development and maintenance requires funding support.
|
|
68
68
|
|
package/lib/api/index.ts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// import { route as rulesRoute, handler as rulesHandler } from '@/api/radar/rules';
|
|
2
|
+
import { route as namespaceAllRoute, handler as namespaceAllHandler } from '@/api/namespace/all';
|
|
3
|
+
import { route as namespaceOneRoute, handler as namespaceOneHandler } from '@/api/namespace/one';
|
|
4
|
+
import { route as radarRulesAllRoute, handler as radarRulesAllHandler } from '@/api/radar/rules/all';
|
|
5
|
+
import { route as radarRulesOneRoute, handler as radarRulesOneHandler } from '@/api/radar/rules/one';
|
|
6
|
+
import { OpenAPIHono } from '@hono/zod-openapi';
|
|
7
|
+
import { swaggerUI } from '@hono/swagger-ui';
|
|
8
|
+
|
|
9
|
+
const app = new OpenAPIHono();
|
|
10
|
+
|
|
11
|
+
app.openapi(namespaceAllRoute, namespaceAllHandler);
|
|
12
|
+
app.openapi(namespaceOneRoute, namespaceOneHandler);
|
|
13
|
+
app.openapi(radarRulesAllRoute, radarRulesAllHandler);
|
|
14
|
+
app.openapi(radarRulesOneRoute, radarRulesOneHandler);
|
|
15
|
+
|
|
16
|
+
const docs = app.getOpenAPI31Document({
|
|
17
|
+
openapi: '3.1.0',
|
|
18
|
+
info: {
|
|
19
|
+
version: '0.0.1',
|
|
20
|
+
title: 'RSSHub API',
|
|
21
|
+
},
|
|
22
|
+
});
|
|
23
|
+
for (const path in docs.paths) {
|
|
24
|
+
docs.paths[`/api${path}`] = docs.paths[path];
|
|
25
|
+
delete docs.paths[path];
|
|
26
|
+
}
|
|
27
|
+
app.get('/docs', (ctx) => ctx.json(docs));
|
|
28
|
+
|
|
29
|
+
app.get('/ui', swaggerUI({ url: '/api/docs' }));
|
|
30
|
+
|
|
31
|
+
export default app;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { namespaces } from '@/registry';
|
|
2
|
+
import { createRoute, RouteHandler } from '@hono/zod-openapi';
|
|
3
|
+
|
|
4
|
+
const route = createRoute({
|
|
5
|
+
method: 'get',
|
|
6
|
+
path: '/namespace',
|
|
7
|
+
tags: ['Namespace'],
|
|
8
|
+
responses: {
|
|
9
|
+
200: {
|
|
10
|
+
description: 'Information about all namespaces',
|
|
11
|
+
},
|
|
12
|
+
},
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
const handler: RouteHandler<typeof route> = (ctx) => ctx.json(namespaces);
|
|
16
|
+
|
|
17
|
+
export { route, handler };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { namespaces } from '@/registry';
|
|
2
|
+
import { z, createRoute, RouteHandler } from '@hono/zod-openapi';
|
|
3
|
+
|
|
4
|
+
const ParamsSchema = z.object({
|
|
5
|
+
namespace: z.string().openapi({
|
|
6
|
+
param: {
|
|
7
|
+
name: 'namespace',
|
|
8
|
+
in: 'path',
|
|
9
|
+
},
|
|
10
|
+
example: 'github',
|
|
11
|
+
}),
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
const route = createRoute({
|
|
15
|
+
method: 'get',
|
|
16
|
+
path: '/namespace/{namespace}',
|
|
17
|
+
tags: ['Namespace'],
|
|
18
|
+
request: {
|
|
19
|
+
params: ParamsSchema,
|
|
20
|
+
},
|
|
21
|
+
responses: {
|
|
22
|
+
200: {
|
|
23
|
+
description: 'Information about a namespace',
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
const handler: RouteHandler<typeof route> = (ctx) => {
|
|
29
|
+
const { namespace } = ctx.req.valid('param');
|
|
30
|
+
return ctx.json(namespaces[namespace]);
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
export { route, handler };
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { namespaces } from '@/registry';
|
|
2
|
+
import { parse } from 'tldts';
|
|
3
|
+
import { RadarItem } from '@/types';
|
|
4
|
+
import { createRoute, RouteHandler } from '@hono/zod-openapi';
|
|
5
|
+
|
|
6
|
+
const radar: {
|
|
7
|
+
[domain: string]: {
|
|
8
|
+
_name: string;
|
|
9
|
+
[subdomain: string]: RadarItem[] | string;
|
|
10
|
+
};
|
|
11
|
+
} = {};
|
|
12
|
+
|
|
13
|
+
for (const namespace in namespaces) {
|
|
14
|
+
for (const path in namespaces[namespace].routes) {
|
|
15
|
+
const realPath = `/${namespace}${path}`;
|
|
16
|
+
const data = namespaces[namespace].routes[path];
|
|
17
|
+
if (data.radar?.length) {
|
|
18
|
+
for (const radarItem of data.radar) {
|
|
19
|
+
const parsedDomain = parse(new URL('https://' + radarItem.source[0]).hostname);
|
|
20
|
+
const subdomain = parsedDomain.subdomain || '.';
|
|
21
|
+
const domain = parsedDomain.domain;
|
|
22
|
+
if (domain) {
|
|
23
|
+
if (!radar[domain]) {
|
|
24
|
+
radar[domain] = {
|
|
25
|
+
_name: namespaces[namespace].name,
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
if (!radar[domain][subdomain]) {
|
|
29
|
+
radar[domain][subdomain] = [];
|
|
30
|
+
}
|
|
31
|
+
radar[domain][subdomain].push({
|
|
32
|
+
title: radarItem.title || data.name,
|
|
33
|
+
docs: `https://docs.rsshub.app/routes/${data.categories?.[0] || 'other'}`,
|
|
34
|
+
source: radarItem.source.map((source) => {
|
|
35
|
+
const sourceURL = new URL('https://' + source);
|
|
36
|
+
return sourceURL.pathname + sourceURL.search + sourceURL.hash;
|
|
37
|
+
}),
|
|
38
|
+
target: radarItem.target ? `/${namespace}${radarItem.target}` : realPath,
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
const route = createRoute({
|
|
47
|
+
method: 'get',
|
|
48
|
+
path: '/radar/rules',
|
|
49
|
+
tags: ['Radar'],
|
|
50
|
+
responses: {
|
|
51
|
+
200: {
|
|
52
|
+
description: 'All Radar rules',
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
const handler: RouteHandler<typeof route> = (ctx) => ctx.json(radar);
|
|
58
|
+
|
|
59
|
+
export { route, handler };
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { namespaces } from '@/registry';
|
|
2
|
+
import { parse } from 'tldts';
|
|
3
|
+
import { RadarItem } from '@/types';
|
|
4
|
+
import { z, createRoute, RouteHandler } from '@hono/zod-openapi';
|
|
5
|
+
|
|
6
|
+
const radar: {
|
|
7
|
+
[domain: string]: {
|
|
8
|
+
_name: string;
|
|
9
|
+
[subdomain: string]: RadarItem[] | string;
|
|
10
|
+
};
|
|
11
|
+
} = {};
|
|
12
|
+
|
|
13
|
+
for (const namespace in namespaces) {
|
|
14
|
+
for (const path in namespaces[namespace].routes) {
|
|
15
|
+
const realPath = `/${namespace}${path}`;
|
|
16
|
+
const data = namespaces[namespace].routes[path];
|
|
17
|
+
if (data.radar?.length) {
|
|
18
|
+
for (const radarItem of data.radar) {
|
|
19
|
+
const parsedDomain = parse(new URL('https://' + radarItem.source[0]).hostname);
|
|
20
|
+
const subdomain = parsedDomain.subdomain || '.';
|
|
21
|
+
const domain = parsedDomain.domain;
|
|
22
|
+
if (domain) {
|
|
23
|
+
if (!radar[domain]) {
|
|
24
|
+
radar[domain] = {
|
|
25
|
+
_name: namespaces[namespace].name,
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
if (!radar[domain][subdomain]) {
|
|
29
|
+
radar[domain][subdomain] = [];
|
|
30
|
+
}
|
|
31
|
+
radar[domain][subdomain].push({
|
|
32
|
+
title: radarItem.title || data.name,
|
|
33
|
+
docs: `https://docs.rsshub.app/routes/${data.categories?.[0] || 'other'}`,
|
|
34
|
+
source: radarItem.source.map((source) => {
|
|
35
|
+
const sourceURL = new URL('https://' + source);
|
|
36
|
+
return sourceURL.pathname + sourceURL.search + sourceURL.hash;
|
|
37
|
+
}),
|
|
38
|
+
target: radarItem.target ? `/${namespace}${radarItem.target}` : realPath,
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
const ParamsSchema = z.object({
|
|
47
|
+
domain: z.string().openapi({
|
|
48
|
+
param: {
|
|
49
|
+
name: 'domain',
|
|
50
|
+
in: 'path',
|
|
51
|
+
},
|
|
52
|
+
example: 'github.com',
|
|
53
|
+
}),
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
const route = createRoute({
|
|
57
|
+
method: 'get',
|
|
58
|
+
path: '/radar/rules/{domain}',
|
|
59
|
+
tags: ['Radar'],
|
|
60
|
+
request: {
|
|
61
|
+
params: ParamsSchema,
|
|
62
|
+
},
|
|
63
|
+
responses: {
|
|
64
|
+
200: {
|
|
65
|
+
description: 'Radar rules for a domain name (does not support subdomains)',
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
const handler: RouteHandler<typeof route> = (ctx) => {
|
|
71
|
+
const { domain } = ctx.req.valid('param');
|
|
72
|
+
return ctx.json(radar[domain]);
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
export { route, handler };
|
package/lib/{app.ts → app.tsx}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import '@/utils/request-
|
|
1
|
+
import '@/utils/request-rewriter';
|
|
2
2
|
|
|
3
3
|
import { Hono } from 'hono';
|
|
4
4
|
|
|
@@ -12,11 +12,14 @@ import debug from '@/middleware/debug';
|
|
|
12
12
|
import header from '@/middleware/header';
|
|
13
13
|
import antiHotlink from '@/middleware/anti-hotlink';
|
|
14
14
|
import parameter from '@/middleware/parameter';
|
|
15
|
+
import { jsxRenderer } from 'hono/jsx-renderer';
|
|
16
|
+
import { trimTrailingSlash } from 'hono/trailing-slash';
|
|
15
17
|
|
|
16
18
|
import logger from '@/utils/logger';
|
|
17
19
|
|
|
18
20
|
import { notFoundHandler, errorHandler } from '@/errors';
|
|
19
21
|
import registry from '@/registry';
|
|
22
|
+
import api from '@/api';
|
|
20
23
|
|
|
21
24
|
process.on('uncaughtException', (e) => {
|
|
22
25
|
logger.error('uncaughtException: ' + e);
|
|
@@ -24,8 +27,15 @@ process.on('uncaughtException', (e) => {
|
|
|
24
27
|
|
|
25
28
|
const app = new Hono();
|
|
26
29
|
|
|
30
|
+
app.use(trimTrailingSlash());
|
|
27
31
|
app.use(compress());
|
|
28
32
|
|
|
33
|
+
app.use(
|
|
34
|
+
jsxRenderer(({ children }) => <>{children}</>, {
|
|
35
|
+
docType: '<?xml version="1.0" encoding="UTF-8"?>',
|
|
36
|
+
stream: {},
|
|
37
|
+
})
|
|
38
|
+
);
|
|
29
39
|
app.use(mLogger);
|
|
30
40
|
app.use(sentry);
|
|
31
41
|
app.use(accessControl);
|
|
@@ -36,7 +46,8 @@ app.use(antiHotlink);
|
|
|
36
46
|
app.use(parameter);
|
|
37
47
|
app.use(cache);
|
|
38
48
|
|
|
39
|
-
registry
|
|
49
|
+
app.route('/', registry);
|
|
50
|
+
app.route('/api', api);
|
|
40
51
|
|
|
41
52
|
app.notFound(notFoundHandler);
|
|
42
53
|
app.onError(errorHandler);
|
package/lib/config.test.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { describe, expect, it, afterEach, vi } from 'vitest';
|
|
2
|
-
import nock from 'nock';
|
|
3
2
|
|
|
4
3
|
afterEach(() => {
|
|
5
4
|
vi.resetModules();
|
|
@@ -93,11 +92,6 @@ describe('config', () => {
|
|
|
93
92
|
it('remote config', async () => {
|
|
94
93
|
process.env.REMOTE_CONFIG = 'http://rsshub.test/config';
|
|
95
94
|
|
|
96
|
-
nock(/rsshub\.test/)
|
|
97
|
-
.get('/config')
|
|
98
|
-
.reply(200, {
|
|
99
|
-
UA: 'test',
|
|
100
|
-
});
|
|
101
95
|
const { config } = await import('./config');
|
|
102
96
|
await new Promise((resolve) => setTimeout(resolve, 100));
|
|
103
97
|
expect(config.ua).toBe('test');
|
package/lib/config.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import 'dotenv/config';
|
|
2
2
|
import randUserAgent from '@/utils/rand-user-agent';
|
|
3
|
-
import
|
|
3
|
+
import { ofetch } from 'ofetch';
|
|
4
4
|
|
|
5
5
|
let envs = process.env;
|
|
6
6
|
|
|
@@ -166,6 +166,9 @@ export type Config = {
|
|
|
166
166
|
username?: string;
|
|
167
167
|
password?: string;
|
|
168
168
|
};
|
|
169
|
+
javdb: {
|
|
170
|
+
session?: string;
|
|
171
|
+
};
|
|
169
172
|
lastfm: {
|
|
170
173
|
api_key?: string;
|
|
171
174
|
};
|
|
@@ -191,6 +194,9 @@ export type Config = {
|
|
|
191
194
|
instance?: string;
|
|
192
195
|
token?: string;
|
|
193
196
|
};
|
|
197
|
+
mox: {
|
|
198
|
+
cookie: string;
|
|
199
|
+
};
|
|
194
200
|
ncm: {
|
|
195
201
|
cookies?: string;
|
|
196
202
|
};
|
|
@@ -224,6 +230,9 @@ export type Config = {
|
|
|
224
230
|
pkubbs: {
|
|
225
231
|
cookie?: string;
|
|
226
232
|
};
|
|
233
|
+
qingting: {
|
|
234
|
+
id?: string;
|
|
235
|
+
};
|
|
227
236
|
saraba1st: {
|
|
228
237
|
cookie?: string;
|
|
229
238
|
};
|
|
@@ -252,6 +261,8 @@ export type Config = {
|
|
|
252
261
|
oauthTokenSecrets?: string[];
|
|
253
262
|
username?: string;
|
|
254
263
|
password?: string;
|
|
264
|
+
authenticationSecret?: string;
|
|
265
|
+
cookie?: string;
|
|
255
266
|
};
|
|
256
267
|
weibo: {
|
|
257
268
|
app_key?: string;
|
|
@@ -272,6 +283,9 @@ export type Config = {
|
|
|
272
283
|
ximalaya: {
|
|
273
284
|
token?: string;
|
|
274
285
|
};
|
|
286
|
+
xueqiu: {
|
|
287
|
+
cookies?: string;
|
|
288
|
+
};
|
|
275
289
|
youtube: {
|
|
276
290
|
key?: string;
|
|
277
291
|
clientId?: string;
|
|
@@ -284,6 +298,9 @@ export type Config = {
|
|
|
284
298
|
zodgame: {
|
|
285
299
|
cookie?: string;
|
|
286
300
|
};
|
|
301
|
+
zsxq: {
|
|
302
|
+
accessToken?: string;
|
|
303
|
+
};
|
|
287
304
|
};
|
|
288
305
|
|
|
289
306
|
const value: Config | Record<string, any> = {};
|
|
@@ -347,7 +364,7 @@ const calculateValue = () => {
|
|
|
347
364
|
allowOrigin: envs.ALLOW_ORIGIN,
|
|
348
365
|
// cache
|
|
349
366
|
cache: {
|
|
350
|
-
type: envs.CACHE_TYPE || 'memory', // 缓存类型,支持 'memory' 和 'redis',设为空可以禁止缓存
|
|
367
|
+
type: envs.CACHE_TYPE || (envs.CACHE_TYPE === '' ? '' : 'memory'), // 缓存类型,支持 'memory' 和 'redis',设为空可以禁止缓存
|
|
351
368
|
requestTimeout: toInt(envs.CACHE_REQUEST_TIMEOUT, 60),
|
|
352
369
|
routeExpire: toInt(envs.CACHE_EXPIRE, 5 * 60), // 路由缓存时间,单位为秒
|
|
353
370
|
contentExpire: toInt(envs.CACHE_CONTENT_EXPIRE, 1 * 60 * 60), // 不变内容缓存时间,单位为秒
|
|
@@ -501,6 +518,9 @@ const calculateValue = () => {
|
|
|
501
518
|
username: envs.IWARA_USERNAME,
|
|
502
519
|
password: envs.IWARA_PASSWORD,
|
|
503
520
|
},
|
|
521
|
+
javdb: {
|
|
522
|
+
session: envs.JAVDB_SESSION,
|
|
523
|
+
},
|
|
504
524
|
lastfm: {
|
|
505
525
|
api_key: envs.LASTFM_API_KEY,
|
|
506
526
|
},
|
|
@@ -526,6 +546,9 @@ const calculateValue = () => {
|
|
|
526
546
|
instance: envs.MINIFLUX_INSTANCE || 'https://reader.miniflux.app',
|
|
527
547
|
token: envs.MINIFLUX_TOKEN || '',
|
|
528
548
|
},
|
|
549
|
+
mox: {
|
|
550
|
+
cookie: envs.MOX_COOKIE,
|
|
551
|
+
},
|
|
529
552
|
ncm: {
|
|
530
553
|
cookies: envs.NCM_COOKIES || '',
|
|
531
554
|
},
|
|
@@ -559,6 +582,9 @@ const calculateValue = () => {
|
|
|
559
582
|
pkubbs: {
|
|
560
583
|
cookie: envs.PKUBBS_COOKIE,
|
|
561
584
|
},
|
|
585
|
+
qingting: {
|
|
586
|
+
id: envs.QINGTING_ID,
|
|
587
|
+
},
|
|
562
588
|
saraba1st: {
|
|
563
589
|
cookie: envs.SARABA1ST_COOKIE,
|
|
564
590
|
},
|
|
@@ -592,6 +618,7 @@ const calculateValue = () => {
|
|
|
592
618
|
username: envs.TWITTER_USERNAME,
|
|
593
619
|
password: envs.TWITTER_PASSWORD,
|
|
594
620
|
authenticationSecret: envs.TWITTER_AUTHENTICATION_SECRET,
|
|
621
|
+
cookie: envs.TWITTER_COOKIE,
|
|
595
622
|
},
|
|
596
623
|
weibo: {
|
|
597
624
|
app_key: envs.WEIBO_APP_KEY,
|
|
@@ -612,6 +639,9 @@ const calculateValue = () => {
|
|
|
612
639
|
ximalaya: {
|
|
613
640
|
token: envs.XIMALAYA_TOKEN,
|
|
614
641
|
},
|
|
642
|
+
xueqiu: {
|
|
643
|
+
cookies: envs.XUEQIU_COOKIES,
|
|
644
|
+
},
|
|
615
645
|
youtube: {
|
|
616
646
|
key: envs.YOUTUBE_KEY,
|
|
617
647
|
clientId: envs.YOUTUBE_CLIENT_ID,
|
|
@@ -624,6 +654,9 @@ const calculateValue = () => {
|
|
|
624
654
|
zodgame: {
|
|
625
655
|
cookie: envs.ZODGAME_COOKIE,
|
|
626
656
|
},
|
|
657
|
+
zsxq: {
|
|
658
|
+
accessToken: envs.ZSXQ_ACCESS_TOKEN,
|
|
659
|
+
},
|
|
627
660
|
};
|
|
628
661
|
|
|
629
662
|
for (const name in _value) {
|
|
@@ -632,22 +665,27 @@ const calculateValue = () => {
|
|
|
632
665
|
};
|
|
633
666
|
calculateValue();
|
|
634
667
|
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
668
|
+
(async () => {
|
|
669
|
+
if (envs.REMOTE_CONFIG) {
|
|
670
|
+
const { default: logger } = await import('@/utils/logger');
|
|
671
|
+
try {
|
|
672
|
+
const data = await ofetch(envs.REMOTE_CONFIG, {
|
|
673
|
+
headers: {
|
|
674
|
+
Authorization: `Basic ${envs.REMOTE_CONFIG_AUTH}`,
|
|
675
|
+
},
|
|
676
|
+
});
|
|
639
677
|
if (data) {
|
|
640
678
|
envs = Object.assign(envs, data);
|
|
641
679
|
calculateValue();
|
|
642
|
-
const { default: logger } = await import('@/utils/logger');
|
|
643
680
|
logger.info('Remote config loaded.');
|
|
681
|
+
} else {
|
|
682
|
+
logger.error('Remote config load failed.');
|
|
644
683
|
}
|
|
645
|
-
})
|
|
646
|
-
.catch(async (error) => {
|
|
647
|
-
const { default: logger } = await import('@/utils/logger');
|
|
684
|
+
} catch (error) {
|
|
648
685
|
logger.error('Remote config load failed.', error);
|
|
649
|
-
}
|
|
650
|
-
}
|
|
686
|
+
}
|
|
687
|
+
}
|
|
688
|
+
})();
|
|
651
689
|
|
|
652
690
|
// @ts-expect-error value is set
|
|
653
691
|
export const config: Config = value;
|
package/lib/errors/index.test.ts
CHANGED
|
@@ -22,7 +22,7 @@ describe('httperror', () => {
|
|
|
22
22
|
it(`httperror`, async () => {
|
|
23
23
|
const response = await request.get('/test/httperror');
|
|
24
24
|
expect(response.status).toBe(503);
|
|
25
|
-
expect(response.text).toMatch('
|
|
25
|
+
expect(response.text).toMatch('FetchError: [GET] "https://httpbingo.org/status/404": 404 Not Found');
|
|
26
26
|
}, 20000);
|
|
27
27
|
});
|
|
28
28
|
|
|
@@ -31,10 +31,26 @@ describe('RequestInProgressError', () => {
|
|
|
31
31
|
const responses = await Promise.all([request.get('/test/slow'), request.get('/test/slow')]);
|
|
32
32
|
expect(new Set(responses.map((r) => r.status))).toEqual(new Set([200, 503]));
|
|
33
33
|
expect(new Set(responses.map((r) => r.headers['cache-control']))).toEqual(new Set([`public, max-age=${config.cache.routeExpire}`, `public, max-age=${config.requestTimeout / 1000}`]));
|
|
34
|
-
expect(responses.filter((r) => r.text.includes('This path is currently fetching, please come back later!'))).toHaveLength(1);
|
|
34
|
+
expect(responses.filter((r) => r.text.includes('RequestInProgressError: This path is currently fetching, please come back later!'))).toHaveLength(1);
|
|
35
35
|
});
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
+
describe('config-not-found-error', () => {
|
|
39
|
+
it(`config-not-found-error`, async () => {
|
|
40
|
+
const response = await request.get('/test/config-not-found-error');
|
|
41
|
+
expect(response.status).toBe(503);
|
|
42
|
+
expect(response.text).toMatch('ConfigNotFoundError: Test config not found error');
|
|
43
|
+
}, 20000);
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
describe('invalid-parameter-error', () => {
|
|
47
|
+
it(`invalid-parameter-error`, async () => {
|
|
48
|
+
const response = await request.get('/test/invalid-parameter-error');
|
|
49
|
+
expect(response.status).toBe(503);
|
|
50
|
+
expect(response.text).toMatch('InvalidParameterError: Test invalid parameter error');
|
|
51
|
+
}, 20000);
|
|
52
|
+
});
|
|
53
|
+
|
|
38
54
|
describe('route throws an error', () => {
|
|
39
55
|
it('route path error should have path mounted', async () => {
|
|
40
56
|
await request.get('/test/error');
|
|
@@ -47,19 +63,19 @@ describe('route throws an error', () => {
|
|
|
47
63
|
const value = $(item).find('.debug-value').html()?.trim();
|
|
48
64
|
switch (key) {
|
|
49
65
|
case 'Request Amount:':
|
|
50
|
-
expect(value).toBe('
|
|
66
|
+
expect(value).toBe('9');
|
|
51
67
|
break;
|
|
52
68
|
case 'Hot Routes:':
|
|
53
|
-
expect(value).toBe('
|
|
69
|
+
expect(value).toBe('6 /test/:id/:params?<br>');
|
|
54
70
|
break;
|
|
55
71
|
case 'Hot Paths:':
|
|
56
|
-
expect(value).toBe('2 /test/error<br>2 /test/slow<br>1 /test/httperror<br>1 /thisDoesNotExist<br>1 /<br>');
|
|
72
|
+
expect(value).toBe('2 /test/error<br>2 /test/slow<br>1 /test/httperror<br>1 /test/config-not-found-error<br>1 /test/invalid-parameter-error<br>1 /thisDoesNotExist<br>1 /<br>');
|
|
57
73
|
break;
|
|
58
74
|
case 'Hot Error Routes:':
|
|
59
|
-
expect(value).toBe('
|
|
75
|
+
expect(value).toBe('5 /test/:id/:params?<br>');
|
|
60
76
|
break;
|
|
61
77
|
case 'Hot Error Paths:':
|
|
62
|
-
expect(value).toBe('2 /test/error<br>1 /test/httperror<br>1 /test/slow<br>1 /thisDoesNotExist<br>');
|
|
78
|
+
expect(value).toBe('2 /test/error<br>1 /test/httperror<br>1 /test/slow<br>1 /test/config-not-found-error<br>1 /test/invalid-parameter-error<br>1 /thisDoesNotExist<br>');
|
|
63
79
|
break;
|
|
64
80
|
default:
|
|
65
81
|
}
|
package/lib/errors/index.tsx
CHANGED
|
@@ -5,9 +5,7 @@ import Sentry from '@sentry/node';
|
|
|
5
5
|
import logger from '@/utils/logger';
|
|
6
6
|
import Error from '@/views/error';
|
|
7
7
|
|
|
8
|
-
import
|
|
9
|
-
import RejectError from './reject';
|
|
10
|
-
import NotFoundError from './not-found';
|
|
8
|
+
import NotFoundError from './types/not-found';
|
|
11
9
|
|
|
12
10
|
export const errorHandler: ErrorHandler = (error, ctx) => {
|
|
13
11
|
const requestPath = ctx.req.path;
|
|
@@ -38,42 +36,39 @@ export const errorHandler: ErrorHandler = (error, ctx) => {
|
|
|
38
36
|
});
|
|
39
37
|
}
|
|
40
38
|
|
|
41
|
-
let
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
39
|
+
let errorMessage = process.env.NODE_ENV === 'production' ? error.message : error.stack || error.message;
|
|
40
|
+
switch (error.constructor.name) {
|
|
41
|
+
case 'HTTPError':
|
|
42
|
+
case 'RequestError':
|
|
43
|
+
case 'FetchError':
|
|
44
|
+
ctx.status(503);
|
|
45
|
+
break;
|
|
46
|
+
case 'RequestInProgressError':
|
|
47
|
+
ctx.header('Cache-Control', `public, max-age=${config.requestTimeout / 1000}`);
|
|
48
|
+
ctx.status(503);
|
|
49
|
+
break;
|
|
50
|
+
case 'RejectError':
|
|
51
|
+
ctx.status(403);
|
|
52
|
+
break;
|
|
53
|
+
case 'NotFoundError':
|
|
54
|
+
ctx.status(404);
|
|
55
|
+
errorMessage += 'The route does not exist or has been deleted.';
|
|
56
|
+
break;
|
|
57
|
+
default:
|
|
58
|
+
ctx.status(503);
|
|
59
|
+
break;
|
|
61
60
|
}
|
|
61
|
+
const message = `${error.name}: ${errorMessage}`;
|
|
62
62
|
|
|
63
63
|
logger.error(`Error in ${requestPath}: ${message}`);
|
|
64
64
|
|
|
65
|
-
return config.isPackage
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
message={message}
|
|
73
|
-
errorRoute={hasMatchedRoute ? matchedRoute : requestPath}
|
|
74
|
-
nodeVersion={process.version}
|
|
75
|
-
/>
|
|
76
|
-
));
|
|
65
|
+
return config.isPackage
|
|
66
|
+
? ctx.json({
|
|
67
|
+
error: {
|
|
68
|
+
message: error.message ?? error,
|
|
69
|
+
},
|
|
70
|
+
})
|
|
71
|
+
: ctx.html(<Error requestPath={requestPath} message={message} errorRoute={hasMatchedRoute ? matchedRoute : requestPath} nodeVersion={process.version} />);
|
|
77
72
|
};
|
|
78
73
|
|
|
79
74
|
export const notFoundHandler: NotFoundHandler = (ctx) => errorHandler(new NotFoundError(), ctx);
|
package/lib/index.ts
CHANGED
|
@@ -8,7 +8,7 @@ const port = config.connect.port;
|
|
|
8
8
|
const hostIPList = getLocalhostAddress();
|
|
9
9
|
|
|
10
10
|
logger.info(`🎉 RSSHub is running on port ${port}! Cheers!`);
|
|
11
|
-
logger.info('💖 Can you help keep this open source project alive? Please sponsor 👉 https://docs.rsshub.app/
|
|
11
|
+
logger.info('💖 Can you help keep this open source project alive? Please sponsor 👉 https://docs.rsshub.app/sponsor');
|
|
12
12
|
logger.info(`🔗 Local: 👉 http://localhost:${port}`);
|
|
13
13
|
for (const ip of hostIPList) {
|
|
14
14
|
logger.info(`🔗 Network: 👉 http://${ip}:${port}`);
|