Skip to content

Commit

Permalink
docs: mark bt and podcast routes
Browse files Browse the repository at this point in the history
  • Loading branch information
DIYgod committed Apr 23, 2019
1 parent b3fa77b commit 8855bee
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 7 deletions.
13 changes: 12 additions & 1 deletion docs/.vuepress/components/Route.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div class="routeBlock" :id="path">
<h4 class="name">{{name}} <Badge text="反爬严格" type="warn" v-if="crawlerBadge"/> <Author :uid=author />
<h4 class="name">{{name}} <Badge text="支持 BT" type="tip" v-if="supportBT"/> <Badge text="支持播客" type="tip" v-if="supportPodcast"/> <Author :uid=author /> <Badge text="反爬严格" type="warn" v-if="crawlerBadge"/>
<a :href="'#'+path" aria-hidden="true" class="header-anchor">#</a>
</h4>
<p class="example">
Expand Down Expand Up @@ -48,6 +48,14 @@ export default {
crawlerBadge: {
type: String,
default: null
},
supportBT: {
type: String,
default: null
},
supportPodcast: {
type: String,
default: null
}
},
methods: {
Expand All @@ -67,4 +75,7 @@ li.params p {
.routeBlock {
margin: 1rem 0 2rem;
}
#app .page .badge.tip {
background-color: #FFD6A6;
}
</style>
10 changes: 5 additions & 5 deletions docs/multimedia.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

<Route name="歌手专辑" author="metowolf" example="/ncm/artist/2116" path="/ncm/artist/:id" :paramsDesc="[' 歌手 id, 可在歌手详情页 URL 中找到']"/>

<Route name="电台节目" author="magic-akari" example="/ncm/djradio/347317067" path="/ncm/djradio/:id" :paramsDesc="['节目 id, 可在电台节目页 URL 中找到']"/>
<Route name="电台节目" author="magic-akari" example="/ncm/djradio/347317067" path="/ncm/djradio/:id" :paramsDesc="['节目 id, 可在电台节目页 URL 中找到']"/ supportPodcast="1">

## 爱奇艺

Expand All @@ -32,7 +32,7 @@

## 喜马拉雅

<Route name="专辑(支持泛用型播客订阅)" author="lengthmin jjeejj" example="/ximalaya/album/299146" path="/ximalaya/album/:id/:all?" :paramsDesc="['专辑 id, 可在对应专辑页面的 URL 中找到','是否需要获取全部节目,默认不获取,填入该字段则视为获取']">
<Route name="专辑" author="lengthmin jjeejj" example="/ximalaya/album/299146" path="/ximalaya/album/:id/:all?" :paramsDesc="['专辑 id, 可在对应专辑页面的 URL 中找到','是否需要获取全部节目,默认不获取,填入该字段则视为获取']" supportPodcast="1">

::: warning 注意
专辑 id 是跟在**分类拼音**后的那个 id, 不要输成某集的 id 了
Expand Down Expand Up @@ -108,7 +108,7 @@

## 电影天堂

<Route name="新片精品" author="imgss" example="/dytt" path="/dytt"/>
<Route name="新片精品" author="imgss" example="/dytt" path="/dytt" supportBT="1"/>

## rs05 人生 05 电影

Expand Down Expand Up @@ -137,7 +137,7 @@

:::

<Route name="影视" author="DIYgod" example="/zimuzu/resource/37031" path="/zimuzu/resource/:id?" :paramsDesc="['影视 id,对应影视的 URL 中找到,为空时输出最近更新']"/>
<Route name="影视" author="DIYgod" example="/zimuzu/resource/37031" path="/zimuzu/resource/:id?" :paramsDesc="['影视 id,对应影视的 URL 中找到,为空时输出最近更新']" supportBT="1"/>

## Sankaku Complex

Expand Down Expand Up @@ -188,7 +188,7 @@
| ------ | ------ | ------ | ------ | ------ | ------ |
| 剧情片 | 战争片 | 国产剧 | 港台剧 | 日韩剧 | 欧美剧 |

<Route name="资源" author="SettingDust" example="/mp4ba/1" path="/mp4ba/:param" :paramsDesc="['类型/关键字']"/>
<Route name="资源" author="SettingDust" example="/mp4ba/1" path="/mp4ba/:param" :paramsDesc="['类型/关键字']" supportBT="1"/>

## 中国高清网

Expand Down
2 changes: 1 addition & 1 deletion docs/other.md
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ type 为 all 时,category 参数不支持 cost 和 free

## 播客 IBC 岩手放送| IBC ラジオ イヤーマイッタマイッタ

<Route name="IBC岩手放送|IBCラジオ イヤーマイッタマイッタ" author="fengkx" example="/maitta" path="/maitta" />
<Route name="IBC岩手放送|IBCラジオ イヤーマイッタマイッタ" author="fengkx" example="/maitta" path="/maitta" supportPodcast="1" />

## 博客: 敬维

Expand Down

0 comments on commit 8855bee

Please sign in to comment.