Skip to content

Commit bf81e29

Browse files
committed
1 parent be9c103 commit bf81e29

3 files changed

Lines changed: 22 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ Cotrans 也有自己的油猴脚本 —— 「[Cotrans 漫画/图片翻译器](h
217217

218218
### 其他
219219

220-
[Pixiv](https://www.pixiv.net) · [明日方舟泰拉记事社](https://terra-historicus.hypergryph.com) · [最前線](https://sai-zen-sen.jp) · [Tachidesk](https://github.com/Suwayomi/Tachidesk-Sorayomi) · [LANraragi](https://github.com/Difegue/LANraragi)
220+
[Pixiv](https://www.pixiv.net) · [明日方舟泰拉记事社](https://terra-historicus.hypergryph.com) · [最前線](https://sai-zen-sen.jp) · [芸能ヌード](https://geinou-nude.com) · [Tachidesk](https://github.com/Suwayomi/Tachidesk-Sorayomi) · [LANraragi](https://github.com/Difegue/LANraragi)
221221

222222
<!-- supportSiteList -->
223223

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ Cotrans 也有自己的油猴脚本 —— 「[Cotrans 漫画/图片翻译器](h
217217

218218
### 其他
219219

220-
[Pixiv](https://www.pixiv.net) · [明日方舟泰拉记事社](https://terra-historicus.hypergryph.com) · [最前線](https://sai-zen-sen.jp) · [Tachidesk](https://github.com/Suwayomi/Tachidesk-Sorayomi) · [LANraragi](https://github.com/Difegue/LANraragi)
220+
[Pixiv](https://www.pixiv.net) · [明日方舟泰拉记事社](https://terra-historicus.hypergryph.com) · [最前線](https://sai-zen-sen.jp) · [芸能ヌード](https://geinou-nude.com) · [Tachidesk](https://github.com/Suwayomi/Tachidesk-Sorayomi) · [LANraragi](https://github.com/Difegue/LANraragi)
221221

222222
<!-- supportSiteList -->
223223

src/index.ts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1034,6 +1034,26 @@ try {
10341034
break;
10351035
}
10361036

1037+
// #其他[芸能ヌード](https://geinou-nude.com)
1038+
// test: https://geinou-nude.com/ロン・モンロウ/
1039+
case 'geinou-nude.com': {
1040+
const imgList: MangaProps['imgList'] = querySelectorAll<HTMLImageElement>(
1041+
'main img.size-medium',
1042+
).map((e) => {
1043+
const src = e.dataset.src ?? '';
1044+
const res = src.match(/-(\d+)x(\d+)\.[a-z]+$/i);
1045+
if (!res) return src;
1046+
return { src, width: Number(res[1]), height: Number(res[2]) };
1047+
});
1048+
if (imgList.length === 0) break;
1049+
1050+
options = {
1051+
name: 'geinou-nude',
1052+
getImgList: () => imgList,
1053+
};
1054+
break;
1055+
}
1056+
10371057
// 为 pwa 版页面提供 api,以便翻译功能能正常运作
10381058
// case 'localhost':
10391059
case 'comic-read.pages.dev': {

0 commit comments

Comments
 (0)