Skip to content

Commit

Permalink
docs: add options for order in 18comic (DIYgod#12124)
Browse files Browse the repository at this point in the history
* fix(route): switch to international generic domain

* fix: restore original domain

* docs: add options for order in 18comic
  • Loading branch information
nczitzk authored Mar 17, 2023
1 parent 9966ce7 commit 1dbdea6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions docs/anime.md
Original file line number Diff line number Diff line change
Expand Up @@ -638,9 +638,9 @@ Sources

排列顺序

| 最新 | 最多点阅 | 最多图片 | 最爱 |
| ---- | -------- | -------- | ---- |
| mr | mv | mp | tf |
| 最新 | 最多点阅的 | 最多图片 | 最高评分 | 最多评论 | 最多爱心 |
| -- | ----- | ---- | ---- | ---- | ---- |
| mr | mv | mp | tr | md | tf |

关键字(供参考)

Expand All @@ -651,7 +651,7 @@ Sources

### 搜索

<Route author="nczitzk" example="/18comic/search/photos/all/NTR" path="/18comic/search/:option?/:category?:keyword?/:time?/:order?" :paramsDesc="['选项,可选 `video` 和 `photos`,默认为 `photos`', '分类,同上表,默认为 `all` 即全部', '关键字,同上表,默认为空', '时间范围,同上表,默认为 `a` 即全部', '排列顺序,同上表,默认为 `mr` 即最新']">
<Route author="nczitzk" example="/18comic/search/photos/all/NTR" path="/18comic/search/:option?/:category?/:keyword?/:time?/:order?" :paramsDesc="['选项,可选 `video` 和 `photos`,默认为 `photos`', '分类,同上表,默认为 `all` 即全部', '关键字,同上表,默认为空', '时间范围,同上表,默认为 `a` 即全部', '排列顺序,同上表,默认为 `mr` 即最新']">

::: tip 提示

Expand Down
2 changes: 1 addition & 1 deletion lib/v2/18comic/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports = {
return {
title: item.text().trim(),
link: `${rootUrl}${item.prev().find('a').attr('href')}`,
guid: `https://18comic.org${item.prev().find('a').attr('href')}`,
guid: `18comic:${item.prev().find('a').attr('href')}`,
};
});

Expand Down

0 comments on commit 1dbdea6

Please sign in to comment.