Fix bug
This commit is contained in:
parent
39be3de74d
commit
3ad98635fd
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue