add 种子制作
This commit is contained in:
@@ -24,8 +24,8 @@ export async function getImdbName(url) {
|
||||
}
|
||||
})
|
||||
}
|
||||
export async function addSubscribe({name, rename, desc, year, season, ep, url, img, subtitle, time,skip,sid,count}) {
|
||||
return await base.post("/videoInfo/addSubscribe", {name, rename, desc, year, season, ep, url, img, subtitle, time,skip,sid,count})
|
||||
export async function addSubscribe({name, rename, desc, year, season, ep, url, img, subtitle, time,skip,sid,count,imdb}) {
|
||||
return await base.post("/videoInfo/addSubscribe", {name, rename, desc, year, season, ep, url, img, subtitle, time,skip,sid,count,imdb})
|
||||
}
|
||||
|
||||
export async function getSubscribe(){
|
||||
|
||||
@@ -99,7 +99,7 @@ onBeforeRouteUpdate(next => {
|
||||
|
||||
let vid = "";
|
||||
const dialogFormVisible = ref(false)
|
||||
|
||||
let imdb = "";
|
||||
|
||||
async function getInfo(id, i) {
|
||||
const loadingInstance = ElLoading.service({fullscreen: true})
|
||||
@@ -108,6 +108,7 @@ async function getInfo(id, i) {
|
||||
let res = await getVideoInfo(id)
|
||||
info.value = res.data.format
|
||||
year.value = res.data.year
|
||||
imdb = res.data.imdb_link || ""
|
||||
console.info(res.data.trans_title.length)
|
||||
if (res.data.trans_title.length === 0) {
|
||||
subtitle.value = res.data.this_title.join(" / ")
|
||||
@@ -147,7 +148,8 @@ async function addsubscribe() {
|
||||
time: dayjs(time.value).format("HH:mm:ss"),
|
||||
skip: season.value,
|
||||
sid: vid,
|
||||
count: count.value
|
||||
count: count.value,
|
||||
imdb: imdb
|
||||
}
|
||||
for (let i in data) {
|
||||
if (!data[i]) {
|
||||
|
||||
Reference in New Issue
Block a user