feat: update sitelist
This commit is contained in:
@@ -23,6 +23,9 @@ const getLibMirror = async () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const getDbMirrors = async () => {
|
const getDbMirrors = async () => {
|
||||||
|
if (process.env.NODE_ENV !== "production") {
|
||||||
|
return "";
|
||||||
|
}
|
||||||
try {
|
try {
|
||||||
const res = await fetch(`https://javdb.com/`);
|
const res = await fetch(`https://javdb.com/`);
|
||||||
const htmlText = await res.text();
|
const htmlText = await res.text();
|
||||||
|
|||||||
@@ -63,6 +63,22 @@ export type SiteItem = SiteItem_get | SiteItem_parser | SiteItem_false;
|
|||||||
|
|
||||||
/** 在线网站列表 */
|
/** 在线网站列表 */
|
||||||
export const siteList: SiteItem[] = [
|
export const siteList: SiteItem[] = [
|
||||||
|
{
|
||||||
|
name: "FANZA 動画",
|
||||||
|
hostname: "dmm.co.jp",
|
||||||
|
url: "https://www.dmm.co.jp/digital/videoa/-/detail/=/cid={{code}}/",
|
||||||
|
// url: "https://video.dmm.co.jp/av/list/?key={{code}}",
|
||||||
|
fetchType: "get",
|
||||||
|
codeFormater: (preCode) => {
|
||||||
|
const [pre, num] = preCode.split("-");
|
||||||
|
const padNum = num.padStart(5, "0");
|
||||||
|
if (pre.toLowerCase().startsWith("start")) {
|
||||||
|
return `1${pre.toLowerCase()}${padNum}`;
|
||||||
|
}
|
||||||
|
return `${pre}${padNum}`;
|
||||||
|
},
|
||||||
|
domQuery: {},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: "Jable",
|
name: "Jable",
|
||||||
hostname: "jable.tv",
|
hostname: "jable.tv",
|
||||||
@@ -85,18 +101,6 @@ export const siteList: SiteItem[] = [
|
|||||||
leakQuery: ".order-first div.rounded-md a[href]:last-child",
|
leakQuery: ".order-first div.rounded-md a[href]:last-child",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: "MISSAV_",
|
|
||||||
hostname: "missav123.com",
|
|
||||||
url: "https://missav123.com/{{code}}/",
|
|
||||||
fetchType: "get",
|
|
||||||
domQuery: {
|
|
||||||
// 标签区的第一个一般是字幕标签
|
|
||||||
subQuery: '.space-y-2 a.text-nord13[href="https://missav123.com/chinese-subtitle"]',
|
|
||||||
// 有个「切換無碼」按钮,藏在分享按钮旁边……
|
|
||||||
leakQuery: ".order-first div.rounded-md a[href]:last-child",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: "123av",
|
name: "123av",
|
||||||
hostname: "123av.com",
|
hostname: "123av.com",
|
||||||
|
|||||||
Reference in New Issue
Block a user