Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(core): fix documentation link path and error message links #15023

Merged
merged 3 commits into from
Mar 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
github: DIYgod
patreon: DIYgod
open_collective: RSSHub
custom: ['https://afdian.net/a/diygod', 'https://docs.rsshub.app/support']
custom: ['https://afdian.net/a/diygod', 'https://docs.rsshub.app/sponsor']
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report_en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ body:
- type: markdown
attributes:
value: |
Please ensure you have read [documentation](https://docs.rsshub.app/en), and provide all the information required by this template, otherwise the issue will be closed immediately.
Please ensure you have read [documentation](https://docs.rsshub.app/), and provide all the information required by this template, otherwise the issue will be closed immediately.
Due to the anti-crawling policy implemented by certain websites, some RSS routes provided by the demo will return status code 403. This is not an issue caused by RSSHub and please do not report it.

- type: textarea
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request_en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ body:
- type: markdown
attributes:
value: |
Please ensure the feature requested is not listed in [documentation](https://docs.rsshub.app/en) or [issue](https://github.com/DIYgod/RSSHub/issues), and is not a [new RSS proposal](https://github.com/DIYgod/RSSHub/issues/new?assignees=&labels=RSS+proposal&template=rss_request_en.yml), and provide all the information required by this template.
Please ensure the feature requested is not listed in [documentation](https://docs.rsshub.app/) or [issue](https://github.com/DIYgod/RSSHub/issues), and is not a [new RSS proposal](https://github.com/DIYgod/RSSHub/issues/new?assignees=&labels=RSS+proposal&template=rss_request_en.yml), and provide all the information required by this template.
Otherwise the issue will be closed immediately.

- type: textarea
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/rss_request_en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ body:
- type: markdown
attributes:
value: |
Please ensure the RSS proposal is not listed in [documentation](https://docs.rsshub.app/en) or [issue](https://github.com/DIYgod/RSSHub/issues), website doesn't provide this kind of RSS feed, and provide all the information required by this template.
Please ensure the RSS proposal is not listed in [documentation](https://docs.rsshub.app/) or [issue](https://github.com/DIYgod/RSSHub/issues), website doesn't provide this kind of RSS feed, and provide all the information required by this template.
Otherwise the issue will be closed immediately.

We are flooded with feature requests and short-handed, please try to make it yourself, the [guide](https://docs.rsshub.app/joinus) is a good place to start. Submit a pull request when done!
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
## Please refer to [Join Us](https://docs.rsshub.app/joinus/quick-start)
## Please refer to [Join Us](https://docs.rsshub.app/joinus/)
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ RSSHub can be used with browser extension [RSSHub Radar](https://github.com/DIYg
<a href="https://rss3.io" target="_blank"><img height="50px" src="https://i.imgur.com/lb1dDGK.png"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://xlog.app/" target="_blank"><img height="50px" src="https://i.imgur.com/JuhHTKD.png"></a>
</p>

[![](https://opencollective.com/static/images/become_sponsor.svg)](https://docs.rsshub.app/support/)
[![](https://opencollective.com/static/images/become_sponsor.svg)](https://docs.rsshub.app/sponsor/)

### Contributors

Expand All @@ -54,15 +54,15 @@ Logo designer [sheldonrrr](https://dribbble.com/sheldonrrr)

We welcome all pull requests. Suggestions and feedback are also welcomed [here](https://github.com/DIYgod/RSSHub/issues).

Refer to [Join Us](https://docs.rsshub.app/joinus/quick-start)
Refer to [Join Us](https://docs.rsshub.app/joinus/)

## Deployment

Refer to [Deployment](https://docs.rsshub.app/install/)
Refer to [Deployment](https://docs.rsshub.app/deploy/)

## Support RSSHub

Refer to [Support RSSHub](https://docs.rsshub.app/support/)
Refer to [Support RSSHub](https://docs.rsshub.app/sponsor/)

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.

Expand Down
2 changes: 1 addition & 1 deletion api/vercel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ const app = require('../lib/app');
const logger = require('../lib/utils/logger');

logger.info(`🎉 RSSHub is running! Cheers!`);
logger.info('💖 Can you help keep this open source project alive? Please sponsor 👉 https://docs.rsshub.app/support');
logger.info('💖 Can you help keep this open source project alive? Please sponsor 👉 https://docs.rsshub.app/sponsor');

module.exports = handle(app);
2 changes: 1 addition & 1 deletion lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const port = config.connect.port;
const hostIPList = getLocalhostAddress();

logger.info(`🎉 RSSHub is running on port ${port}! Cheers!`);
logger.info('💖 Can you help keep this open source project alive? Please sponsor 👉 https://docs.rsshub.app/support');
logger.info('💖 Can you help keep this open source project alive? Please sponsor 👉 https://docs.rsshub.app/sponsor');
logger.info(`🔗 Local: 👉 http://localhost:${port}`);
for (const ip of hostIPList) {
logger.info(`🔗 Network: 👉 http://${ip}:${port}`);
Expand Down
2 changes: 1 addition & 1 deletion lib/middleware/parameter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@
}
}
} else {
throw new Error(`Invalid parameter brief. Please check the doc https://docs.rsshub.app/parameter#shu-chu-jian-xun`);
throw new Error(`Invalid parameter brief. Please check the doc https://docs.rsshub.app/guide/parameters#shu-chu-jian-xun`);

Check warning on line 383 in lib/middleware/parameter.ts

View check run for this annotation

Codecov / codecov/patch

lib/middleware/parameter.ts#L383

Added line #L383 was not covered by tests
}
}
// some parameters are processed in `anti-hotlink.js`
Expand Down
2 changes: 1 addition & 1 deletion lib/routes-deprecated/disqus/posts.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const config = require('@/config').value;

module.exports = async (ctx) => {
if (!config.disqus || !config.disqus.api_key) {
throw new Error('Disqus RSS is disabled due to the lack of <a href="https://docs.rsshub.app/install/#pei-zhi-bu-fen-rss-mo-kuai-pei-zhi">relevant config</a>');
throw new Error('Disqus RSS is disabled due to the lack of <a href="https://docs.rsshub.app/deploy/config#route-specific-configurations">relevant config</a>');
}
const forum = ctx.params.forum;

Expand Down
2 changes: 1 addition & 1 deletion lib/routes-deprecated/fanfou/favorites.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const utils = require('./utils');

module.exports = async (ctx) => {
if (!config.fanfou || !config.fanfou.consumer_key || !config.fanfou.consumer_secret || !config.fanfou.username || !config.fanfou.password) {
throw new Error('Fanfou RSS is disabled due to the lack of <a href="https://docs.rsshub.app/install/#pei-zhi-bu-fen-rss-mo-kuai-pei-zhi">relevant config</a>');
throw new Error('Fanfou RSS is disabled due to the lack of <a href="https://docs.rsshub.app/deploy/config#route-specific-configurations">relevant config</a>');
}

const uid = ctx.params.uid;
Expand Down
2 changes: 1 addition & 1 deletion lib/routes-deprecated/fanfou/home-timeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const utils = require('./utils');

module.exports = async (ctx) => {
if (!config.fanfou || !config.fanfou.consumer_key || !config.fanfou.consumer_secret || !config.fanfou.username || !config.fanfou.password) {
throw new Error('Fanfou RSS is disabled due to the lack of <a href="https://docs.rsshub.app/install/#pei-zhi-bu-fen-rss-mo-kuai-pei-zhi">relevant config</a>');
throw new Error('Fanfou RSS is disabled due to the lack of <a href="https://docs.rsshub.app/deploy/config#route-specific-configurations">relevant config</a>');
}

const fanfou = await utils.getFanfou();
Expand Down
2 changes: 1 addition & 1 deletion lib/routes-deprecated/fanfou/public-timeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const utils = require('./utils');

module.exports = async (ctx) => {
if (!config.fanfou || !config.fanfou.consumer_key || !config.fanfou.consumer_secret || !config.fanfou.username || !config.fanfou.password) {
throw new Error('Fanfou RSS is disabled due to the lack of <a href="https://docs.rsshub.app/install/#pei-zhi-bu-fen-rss-mo-kuai-pei-zhi">relevant config</a>');
throw new Error('Fanfou RSS is disabled due to the lack of <a href="https://docs.rsshub.app/deploy/config#route-specific-configurations">relevant config</a>');
}

const keyword = ctx.params.keyword;
Expand Down
2 changes: 1 addition & 1 deletion lib/routes-deprecated/fanfou/user-timeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const utils = require('./utils');

module.exports = async (ctx) => {
if (!config.fanfou || !config.fanfou.consumer_key || !config.fanfou.consumer_secret || !config.fanfou.username || !config.fanfou.password) {
throw new Error('Fanfou RSS is disabled due to the lack of <a href="https://docs.rsshub.app/install/#pei-zhi-bu-fen-rss-mo-kuai-pei-zhi">relevant config</a>');
throw new Error('Fanfou RSS is disabled due to the lack of <a href="https://docs.rsshub.app/deploy/config#route-specific-configurations">relevant config</a>');
}

const uid = ctx.params.uid;
Expand Down
2 changes: 1 addition & 1 deletion lib/routes-deprecated/lastfm/loved.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const config = require('@/config').value;

module.exports = async (ctx) => {
if (!config.lastfm || !config.lastfm.api_key) {
throw new Error('Last.fm RSS is disabled due to the lack of <a href="https://docs.rsshub.app/install/#pei-zhi-bu-fen-rss-mo-kuai-pei-zhi">relevant config</a>');
throw new Error('Last.fm RSS is disabled due to the lack of <a href="https://docs.rsshub.app/deploy/config#route-specific-configurations">relevant config</a>');
}

const user = ctx.params.user;
Expand Down
2 changes: 1 addition & 1 deletion lib/routes-deprecated/lastfm/recent.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const config = require('@/config').value;

module.exports = async (ctx) => {
if (!config.lastfm || !config.lastfm.api_key) {
throw new Error('Last.fm RSS is disabled due to the lack of <a href="https://docs.rsshub.app/install/#pei-zhi-bu-fen-rss-mo-kuai-pei-zhi">relevant config</a>');
throw new Error('Last.fm RSS is disabled due to the lack of <a href="https://docs.rsshub.app/deploy/config#route-specific-configurations">relevant config</a>');
}

const user = ctx.params.user;
Expand Down
2 changes: 1 addition & 1 deletion lib/routes-deprecated/lastfm/top.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const config = require('@/config').value;

module.exports = async (ctx) => {
if (!config.lastfm || !config.lastfm.api_key) {
throw new Error('Last.fm RSS is disabled due to the lack of <a href="https://docs.rsshub.app/install/#pei-zhi-bu-fen-rss-mo-kuai-pei-zhi">relevant config</a>');
throw new Error('Last.fm RSS is disabled due to the lack of <a href="https://docs.rsshub.app/deploy/config#route-specific-configurations">relevant config</a>');
}

const country = ctx.params.country;
Expand Down
2 changes: 1 addition & 1 deletion lib/routes/163/music/playlist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const route: Route = {

async function handler(ctx) {
if (!config.ncm || !config.ncm.cookies) {
throw new Error('163 Music RSS is disabled due to the lack of <a href="https://docs.rsshub.app/install/#pei-zhi-bu-fen-rss-mo-kuai-pei-zhi">relevant config</a>');
throw new Error('163 Music RSS is disabled due to the lack of <a href="https://docs.rsshub.app/deploy/#pei-zhi-bu-fen-rss-mo-kuai-pei-zhi">relevant config</a>');
}

const id = ctx.req.param('id');
Expand Down
2 changes: 1 addition & 1 deletion lib/routes/bilibili/followers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ async function handler(ctx) {

const cookie = config.bilibili.cookies[loginUid];
if (cookie === undefined) {
throw new Error('缺少对应 loginUid 的 Bilibili 用户登录后的 Cookie 值 <a href="https://docs.rsshub.app/install/#pei-zhi-bu-fen-rss-mo-kuai-pei-zhi">bilibili 用户关注动态系列路由</a>');
throw new Error('缺少对应 loginUid 的 Bilibili 用户登录后的 Cookie 值 <a href="https://docs.rsshub.app/zh/deploy/config#route-specific-configurations">bilibili 用户关注动态系列路由</a>');
}

const name = await cache.getUsernameFromUID(uid);
Expand Down
2 changes: 1 addition & 1 deletion lib/routes/bilibili/followings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ async function handler(ctx) {
const loginUid = ctx.req.param('loginUid');
const cookie = config.bilibili.cookies[loginUid];
if (cookie === undefined) {
throw new Error('缺少对应 loginUid 的 Bilibili 用户登录后的 Cookie 值 <a href="https://docs.rsshub.app/install/#pei-zhi-bu-fen-rss-mo-kuai-pei-zhi">bilibili 用户关注动态系列路由</a>');
throw new Error('缺少对应 loginUid 的 Bilibili 用户登录后的 Cookie 值 <a href="https://docs.rsshub.app/zh/deploy/config#route-specific-configurations">bilibili 用户关注动态系列路由</a>');
}

const uid = ctx.req.param('uid');
Expand Down
2 changes: 1 addition & 1 deletion lib/routes/discord/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const route: Route = {

async function handler(ctx) {
if (!config.discord || !config.discord.authorization) {
throw new Error('Discord RSS is disabled due to the lack of <a href="https://docs.rsshub.app/en/install/#configuration-route-specific-configurations">relevant config</a>');
throw new Error('Discord RSS is disabled due to the lack of <a href="https://docs.rsshub.app/deploy/config#route-specific-configurations">relevant config</a>');
}
const { authorization } = config.discord;
const channelId = ctx.req.param('channelId');
Expand Down
2 changes: 1 addition & 1 deletion lib/routes/discourse/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { config } from '@/config';

function getConfig(ctx) {
if (!config.discourse.config[ctx.req.param('configId')]) {
throw new Error('Discourse RSS is disabled due to the lack of <a href="https://docs.rsshub.app/install">relevant config</a>');
throw new Error('Discourse RSS is disabled due to the lack of <a href="https://docs.rsshub.app/deploy/">relevant config</a>');
}
return config.discourse.config[ctx.req.param('configId')];
}
Expand Down
2 changes: 1 addition & 1 deletion lib/routes/ehentai/favorites.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const route: Route = {

async function handler(ctx) {
if (!EhAPI.has_cookie) {
throw new Error('Ehentai favorites RSS is disabled due to the lack of <a href="https://docs.rsshub.app/install/#pei-zhi-bu-fen-rss-mo-kuai-pei-zhi">relevant config</a>');
throw new Error('Ehentai favorites RSS is disabled due to the lack of <a href="https://docs.rsshub.app/deploy/config#route-specific-configurations">relevant config</a>');
}
const favcat = ctx.req.param('favcat') ? Number.parseInt(ctx.req.param('favcat')) : 0;
const page = ctx.req.param('page');
Expand Down
2 changes: 1 addition & 1 deletion lib/routes/github/follower.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const route: Route = {

async function handler(ctx) {
if (!config.github || !config.github.access_token) {
throw new Error('GitHub follower RSS is disabled due to the lack of <a href="https://docs.rsshub.app/install/#pei-zhi-bu-fen-rss-mo-kuai-pei-zhi">relevant config</a>');
throw new Error('GitHub follower RSS is disabled due to the lack of <a href="https://docs.rsshub.app/deploy/config#route-specific-configurations">relevant config</a>');
}
const user = ctx.req.param('user');

Expand Down
2 changes: 1 addition & 1 deletion lib/routes/github/notifications.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const route: Route = {

async function handler(ctx) {
if (!config.github || !config.github.access_token) {
throw new Error('GitHub trending RSS is disabled due to the lack of <a href="https://docs.rsshub.app/install/#pei-zhi-bu-fen-rss-mo-kuai-pei-zhi">relevant config</a>');
throw new Error('GitHub trending RSS is disabled due to the lack of <a href="https://docs.rsshub.app/deploy/config#route-specific-configurations">relevant config</a>');
}
const headers = {
Accept: 'application/vnd.github.v3+json',
Expand Down
2 changes: 1 addition & 1 deletion lib/routes/github/star.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const route: Route = {

async function handler(ctx) {
if (!config.github || !config.github.access_token) {
throw new Error('GitHub star RSS is disabled due to the lack of <a href="https://docs.rsshub.app/install/#pei-zhi-bu-fen-rss-mo-kuai-pei-zhi">relevant config</a>');
throw new Error('GitHub star RSS is disabled due to the lack of <a href="https://docs.rsshub.app/deploy/config#route-specific-configurations">relevant config</a>');
}
const user = ctx.req.param('user');
const repo = ctx.req.param('repo');
Expand Down
2 changes: 1 addition & 1 deletion lib/routes/github/trending.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const route: Route = {

async function handler(ctx) {
if (!config.github || !config.github.access_token) {
throw new Error('GitHub trending RSS is disabled due to the lack of <a href="https://docs.rsshub.app/install/#pei-zhi-bu-fen-rss-mo-kuai-pei-zhi">relevant config</a>');
throw new Error('GitHub trending RSS is disabled due to the lack of <a href="https://docs.rsshub.app/deploy/config#route-specific-configurations">relevant config</a>');
}
const since = ctx.req.param('since');
const language = ctx.req.param('language') === 'any' ? '' : ctx.req.param('language');
Expand Down
2 changes: 1 addition & 1 deletion lib/routes/google/fonts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const route: Route = {
| date | trending | popularity | alpha | style |

:::warning
This route requires API key, therefore it's only available when self-hosting, refer to the [Deploy Guide](https://docs.rsshub.app/install/#configuration-route-specific-configurations) for route-specific configurations.
This route requires API key, therefore it's only available when self-hosting, refer to the [Deploy Guide](https://docs.rsshub.app/deploy/config#route-specific-configurations) for route-specific configurations.
:::`,
};

Expand Down
2 changes: 1 addition & 1 deletion lib/routes/hit/namespace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ export const namespace: Namespace = {
name: '哈尔滨工业大学',
url: 'jwc.hit.edu.cn',
description: `:::warning
哈工大网站疑似禁止了\`rsshub.app\`的访问,使用路由需要自行 [部署](https://docs.rsshub.app/install)。
哈工大网站疑似禁止了\`rsshub.app\`的访问,使用路由需要自行 [部署](https://docs.rsshub.app/deploy/)。
:::`,
};
2 changes: 1 addition & 1 deletion lib/routes/instagram/private-api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export const route: Route = {
maintainers: ['oppilate', 'DIYgod'],
handler,
description: `:::warning
Due to [Instagram Private API](https://github.com/dilame/instagram-private-api) restrictions, you have to setup your credentials on the server. 2FA is not supported. See [deployment guide](https://docs.rsshub.app/install/) for more.
Due to [Instagram Private API](https://github.com/dilame/instagram-private-api) restrictions, you have to setup your credentials on the server. 2FA is not supported. See [deployment guide](https://docs.rsshub.app/deploy/) for more.
:::`,
};

Expand Down
2 changes: 1 addition & 1 deletion lib/routes/instagram/private-api/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const ig = new IgApiClient();

async function login(ig, cache) {
if (!config.instagram || !config.instagram.username || !config.instagram.password) {
throw new Error('Instagram RSS is disabled due to the lack of <a href="https://docs.rsshub.app/install/#pei-zhi-bu-fen-rss-mo-kuai-pei-zhi">relevant config</a>');
throw new Error('Instagram RSS is disabled due to the lack of <a href="https://docs.rsshub.app/deploy/config#route-specific-configurations">relevant config</a>');
}
const LOGIN_CACHE_KEY = 'instagram:login';
const { username, password } = config.instagram;
Expand Down
2 changes: 1 addition & 1 deletion lib/routes/instagram/web-api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ You may need to setup cookie for a less restrictive rate limit and private profi

async function handler(ctx) {
// if (!config.instagram || !config.instagram.cookie) {
// throw Error('Instagram RSS is disabled due to the lack of <a href="https://docs.rsshub.app/install/#pei-zhi-bu-fen-rss-mo-kuai-pei-zhi">relevant config</a>');
// throw Error('Instagram RSS is disabled due to the lack of <a href="https://docs.rsshub.app/deploy/config#route-specific-configurations">relevant config</a>');
// }
const availableCategories = ['user', 'tags'];
const { category, key } = ctx.req.param();
Expand Down
4 changes: 2 additions & 2 deletions lib/routes/iwara/subscriptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ export const route: Route = {
handler,
url: 'ecchi.iwara.tv/',
description: `:::warning
This route requires username and password, therefore it's only available when self-hosting, refer to the [Deploy Guide](/install/#route-specific-configurations) for route-specific configurations.
This route requires username and password, therefore it's only available when self-hosting, refer to the [Deploy Guide](https://docs.rsshub.app/deploy/config#route-specific-configurations) for route-specific configurations.
:::`,
};

async function handler() {
if (!config.iwara || !config.iwara.username || !config.iwara.password) {
throw new Error('Iwara subscription RSS is disabled due to the lack of <a href="https://docs.rsshub.app/install/#pei-zhi-bu-fen-rss-mo-kuai-pei-zhi">relevant config</a>');
throw new Error('Iwara subscription RSS is disabled due to the lack of <a href="https://docs.rsshub.app/deploy/config#route-specific-configurations">relevant config</a>');
}

const rootUrl = `https://www.iwara.tv`;
Expand Down
Loading
Loading