修正了下载不完成的bug
This commit is contained in:
@@ -21,7 +21,11 @@ async function updateSeed(info, desc) {
|
||||
if(ep.start == ep.end){
|
||||
form.append("name", info.title.replace("Epxxx", "E" + info.ep))
|
||||
}else{
|
||||
form.append("name", info.title.replace("Epxxx", "E" + ep.start + "-" + "E" + ep.end))
|
||||
if(ep.start == 1 && ep.end == vinfo.count){
|
||||
form.append("name", info.title.replace("Epxxx", ""))
|
||||
}else{
|
||||
form.append("name", info.title.replace("Epxxx", "E" + ep.start + "-" + "E" + ep.end))
|
||||
}
|
||||
}
|
||||
await setDownStateVid(info.vid,2)
|
||||
form.append("small_descr", vinfo.subtitle)
|
||||
|
||||
Reference in New Issue
Block a user