Fix
This commit is contained in:
parent
5e3e5625f6
commit
8aeba7da49
|
|
@ -237,7 +237,7 @@ public class AliYun {
|
||||||
List<Item> subs = new ArrayList<>();
|
List<Item> subs = new ArrayList<>();
|
||||||
listFiles(shareId, new Item(getParentFileId(fileId, share)), files, subs);
|
listFiles(shareId, new Item(getParentFileId(fileId, share)), files, subs);
|
||||||
Collections.sort(files);
|
Collections.sort(files);
|
||||||
List<String> playFrom = Arrays.asList("原畫", "普畫");
|
List<String> playFrom = Arrays.asList("原畫", "普畫", "極速");
|
||||||
List<String> episode = new ArrayList<>();
|
List<String> episode = new ArrayList<>();
|
||||||
List<String> playUrl = new ArrayList<>();
|
List<String> playUrl = new ArrayList<>();
|
||||||
for (Item file : files) episode.add(file.getDisplayName() + "$" + shareId + "+" + file.getFileId() + findSubs(file.getName(), subs));
|
for (Item file : files) episode.add(file.getDisplayName() + "$" + shareId + "+" + file.getFileId() + findSubs(file.getName(), subs));
|
||||||
|
|
@ -359,9 +359,9 @@ public class AliYun {
|
||||||
}
|
}
|
||||||
|
|
||||||
public String playerContent(String[] ids, String flag) {
|
public String playerContent(String[] ids, String flag) {
|
||||||
if (flag.split("#")[0].equals("原畫")) {
|
if (flag.split("#")[0].equals("普畫")) {
|
||||||
return getPreviewContent(ids);
|
return getPreviewContent(ids);
|
||||||
} else if (flag.split("#")[0].equals("普畫")) {
|
} else if (flag.split("#")[0].equals("原畫")) {
|
||||||
return Result.get().url(getDownloadUrl(ids[0], ids[1])).octet().subs(getSubs(ids)).header(getHeader()).string();
|
return Result.get().url(getDownloadUrl(ids[0], ids[1])).octet().subs(getSubs(ids)).header(getHeader()).string();
|
||||||
} else if (flag.split("#")[0].equals("極速")) {
|
} else if (flag.split("#")[0].equals("極速")) {
|
||||||
return Result.get().url(MultiThread.url(getDownloadUrl(ids[0], ids[1]), 4)).octet().subs(getSubs(ids)).header(getHeader()).string();
|
return Result.get().url(MultiThread.url(getDownloadUrl(ids[0], ids[1]), 4)).octet().subs(getSubs(ids)).header(getHeader()).string();
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -1 +1 @@
|
||||||
5b9616f651958c10bc411893308610ff
|
41ef471afad9198e7273a12f9912578a
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"spider": "https://gh-proxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;5b9616f651958c10bc411893308610ff",
|
"spider": "https://gh-proxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;41ef471afad9198e7273a12f9912578a",
|
||||||
"wallpaper": "https://gao.chuqiuyu.tk",
|
"wallpaper": "https://gao.chuqiuyu.tk",
|
||||||
"sites": [
|
"sites": [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"spider": "https://gh-proxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;5b9616f651958c10bc411893308610ff",
|
"spider": "https://gh-proxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;41ef471afad9198e7273a12f9912578a",
|
||||||
"wallpaper": "http://饭太硬.top/深色壁纸/api.php",
|
"wallpaper": "http://饭太硬.top/深色壁纸/api.php",
|
||||||
"sites": [
|
"sites": [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue