Merge pull request #92 from yxxyun/dev

update UC tip
This commit is contained in:
Moustapha Kodjo Amadou
2024-10-15 09:13:56 +01:00
committed by GitHub
2 changed files with 5 additions and 5 deletions

View File

@@ -7,7 +7,7 @@ const mangayomiSources = [{
"typeSource": "single",
"isManga": false,
"isNsfw": false,
"version": "0.0.1",
"version": "0.0.2",
"dateFormat": "",
"dateFormatLocale": "",
"pkgPath": "anime/src/zh/wogg.js"
@@ -140,7 +140,7 @@ class DefaultExtension extends MProvider {
} else if (type === 'uc') {
let cookie = new SharedPreferences().get("ucCookie");
if (cookie == "") {
throw new Error("请先在本扩展设置中填写UC云盘Cookies, 需要UC云盘VIP账号 \n Please fill in the UC Cloud Cookies in this extension settings first, you need a UC Cloud VIP account");
throw new Error("请先在本扩展设置中填写UC云盘Cookies \n Please fill in the UC Cloud Cookies in this extension settings first");
} else {
vids = await ucVideosExtractor(url, cookie);
}

View File

@@ -7,7 +7,7 @@ const mangayomiSources = [{
"typeSource": "single",
"isManga": false,
"isNsfw": false,
"version": "0.0.1",
"version": "0.0.2",
"dateFormat": "",
"dateFormatLocale": "",
"pkgPath": "anime/src/zh/yydsys.js"
@@ -140,7 +140,7 @@ class DefaultExtension extends MProvider {
} else if (type === 'uc') {
let cookie = new SharedPreferences().get("ucCookie");
if (cookie == "") {
throw new Error("请先在本扩展设置中填写UC云盘Cookies, 需要UC云盘VIP账号 \n Please fill in the UC Cloud Cookies in this extension settings first, you need a UC Cloud VIP account");
throw new Error("请先在本扩展设置中填写UC云盘Cookies \n Please fill in the UC Cloud Cookies in this extension settings first");
} else {
vids = await ucVideosExtractor(url, cookie);
}
@@ -208,4 +208,4 @@ class DefaultExtension extends MProvider {
}
];
}
}
}