style: auto format
This commit is contained in:
parent
39c3d5f277
commit
955b077c13
|
|
@ -191,12 +191,6 @@ pageClass: routes
|
|||
|
||||
<Route author="TonyRL" example="/creative-comic/book/117" path="/creative-comic/book/:id/:coverOnly?/:quality?" :paramsDesc="['漫畫 ID,可在 URL 中找到', '僅獲取封面,非 `true` 時將獲取**全部**頁面,預設 `true`', '閱讀品質,標準畫質 `1`,高畫質 `2`,預設 `1`']" radar="1" rssbud="1"/>
|
||||
|
||||
## Comicat
|
||||
|
||||
### 搜索关键词
|
||||
|
||||
<Route author="Cyang39" example="/comicat/search/喵萌奶茶屋+跃动青春+720P+简日" path="/comicat/search/:keyword" :paramsDesc="['关键词,请用`+`号连接']" supportBT=1/>
|
||||
|
||||
## CnGal
|
||||
|
||||
### 每周速报
|
||||
|
|
@ -207,6 +201,12 @@ pageClass: routes
|
|||
|
||||
<Route author="chengyuhui" example="/cngal/entry/2693" path="/cngal/entry/:id" :paramsDesc="['词条ID,游戏或制作者页面URL的最后一串数字']" radar="1" rssbud="1"/>
|
||||
|
||||
## Comicat
|
||||
|
||||
### 搜索关键词
|
||||
|
||||
<Route author="Cyang39" example="/comicat/search/喵萌奶茶屋+跃动青春+720P+简日" path="/comicat/search/:keyword" :paramsDesc="['关键词,请用`+`号连接']" supportBT=1/>
|
||||
|
||||
## DLsite
|
||||
|
||||
### 通用
|
||||
|
|
|
|||
|
|
@ -11,11 +11,11 @@ module.exports = async (ctx) => {
|
|||
const list = $('#listTable tbody > tr')
|
||||
.toArray()
|
||||
.map((item) => ({
|
||||
title: $(item).find('td:nth-child(3)').text().trim(),
|
||||
link: `${baseUrl}/${$(item).find('td:nth-child(3) a').attr('href')}`,
|
||||
category: $(item).find('td:nth-child(2)').text().trim(),
|
||||
author: $(item).find('td:nth-child(8)').text().trim(),
|
||||
}));
|
||||
title: $(item).find('td:nth-child(3)').text().trim(),
|
||||
link: `${baseUrl}/${$(item).find('td:nth-child(3) a').attr('href')}`,
|
||||
category: $(item).find('td:nth-child(2)').text().trim(),
|
||||
author: $(item).find('td:nth-child(8)').text().trim(),
|
||||
}));
|
||||
|
||||
const items = await Promise.all(
|
||||
list.map((item) =>
|
||||
|
|
@ -37,6 +37,6 @@ module.exports = async (ctx) => {
|
|||
ctx.state.data = {
|
||||
title: `Comicat - ${keyword}`,
|
||||
link: `${baseUrl}/search.php?keyword=${encodeURIComponent(keyword)}`,
|
||||
item: items
|
||||
item: items,
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue