This commit is contained in:
FongMi 2023-01-03 11:55:59 +08:00
parent 39be3de74d
commit 3ad98635fd
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,6 @@
package com.github.catvod.bean;
import com.github.catvod.utils.Trans;
import com.google.gson.annotations.SerializedName;
public class Sub {
@ -18,7 +19,7 @@ public class Sub {
}
public Sub name(String name) {
this.name = name;
this.name = Trans.get(name);
return this;
}

View File

@ -199,7 +199,7 @@ public class AList extends Spider {
private String findSubs(String path, List<Item> items) {
StringBuilder sb = new StringBuilder();
for (Item item : items) if (Misc.isSub(item.getExt())) sb.append("~~~").append(Trans.get(item.getName())).append("@@@").append(item.getExt()).append("@@@").append(item.getVodId(path));
for (Item item : items) if (Misc.isSub(item.getExt())) sb.append("~~~").append(item.getName()).append("@@@").append(item.getExt()).append("@@@").append(item.getVodId(path));
return sb.toString();
}