|
|
|
@ -673,7 +673,7 @@ class aniListCli {
|
|
|
|
|
variables
|
|
|
|
|
})
|
|
|
|
|
};
|
|
|
|
|
var data = await this.getInfo(options)
|
|
|
|
|
var data = await this.getInfo(options);
|
|
|
|
|
|
|
|
|
|
data = data.data.Page.media
|
|
|
|
|
if(!data[0]) return 'Error'
|
|
|
|
@ -705,6 +705,8 @@ class aniListCli {
|
|
|
|
|
siteUrl
|
|
|
|
|
status
|
|
|
|
|
episodes
|
|
|
|
|
season
|
|
|
|
|
seasonYear
|
|
|
|
|
trailer {
|
|
|
|
|
site
|
|
|
|
|
id
|
|
|
|
@ -727,15 +729,17 @@ class aniListCli {
|
|
|
|
|
})
|
|
|
|
|
};
|
|
|
|
|
var data = await this.getInfo(options);
|
|
|
|
|
data = data.data;
|
|
|
|
|
return {
|
|
|
|
|
title:data.data.Media.title,
|
|
|
|
|
malLink:'https://myanimelist.net/anime/'+data.data.Media.idMal,
|
|
|
|
|
status:data.data.Media.status,
|
|
|
|
|
url:data.data.Media.siteUrl,
|
|
|
|
|
episodes:data.data.Media.episodes,
|
|
|
|
|
trailer:data.data.Media.trailer,
|
|
|
|
|
description:data.data.Media.description,
|
|
|
|
|
coverImage:data.data.Media.coverImage.large
|
|
|
|
|
title:data.Media.title,
|
|
|
|
|
malLink:'https://myanimelist.net/anime/'+data.Media.idMal,
|
|
|
|
|
status:data.Media.status,
|
|
|
|
|
url:data.Media.siteUrl,
|
|
|
|
|
episodes:data.Media.episodes,
|
|
|
|
|
trailer:data.Media.trailer,
|
|
|
|
|
description:data.Media.description,
|
|
|
|
|
coverImage:data.Media.coverImage.large,
|
|
|
|
|
season: data.Media.season + data.Media.seasonYear
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
@ -778,7 +782,7 @@ class aniListCli {
|
|
|
|
|
variables
|
|
|
|
|
})
|
|
|
|
|
};
|
|
|
|
|
var data = await this.getInfo(options)
|
|
|
|
|
var data = await this.getInfo(options);
|
|
|
|
|
var chars = data.data.Page.characters
|
|
|
|
|
var aux = [];
|
|
|
|
|
if(!chars[0]) return 'Error'
|
|
|
|
@ -827,13 +831,14 @@ class aniListCli {
|
|
|
|
|
variables
|
|
|
|
|
})
|
|
|
|
|
};
|
|
|
|
|
var data = await this.getInfo(options)
|
|
|
|
|
var data = await this.getInfo(options);
|
|
|
|
|
data = data.data;
|
|
|
|
|
return {
|
|
|
|
|
name:data.data.Character.name,
|
|
|
|
|
gender:data.data.Character.gender,
|
|
|
|
|
url:data.data.Character.siteUrl,
|
|
|
|
|
image:data.data.Character.image.medium,
|
|
|
|
|
description:data.data.Character.description,
|
|
|
|
|
name:data.Character.name,
|
|
|
|
|
gender:data.Character.gender,
|
|
|
|
|
url:data.Character.siteUrl,
|
|
|
|
|
image:data.Character.image.medium,
|
|
|
|
|
description:data.Character.description,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -876,7 +881,7 @@ class aniListCli {
|
|
|
|
|
variables
|
|
|
|
|
})
|
|
|
|
|
};
|
|
|
|
|
var data = await this.getInfo(options)
|
|
|
|
|
var data = await this.getInfo(options);
|
|
|
|
|
var mangas = data.data.Page.media;
|
|
|
|
|
var aux = [];
|
|
|
|
|
if(!mangas[0]) return 'Error'
|
|
|
|
@ -923,13 +928,14 @@ class aniListCli {
|
|
|
|
|
variables
|
|
|
|
|
})
|
|
|
|
|
};
|
|
|
|
|
var data = await this.getInfo(options)
|
|
|
|
|
var data = await this.getInfo(options);
|
|
|
|
|
data = data.data;
|
|
|
|
|
return {
|
|
|
|
|
title:data.data.Media.title,
|
|
|
|
|
status:data.data.Media.status,
|
|
|
|
|
url:data.data.Media.siteUrl,
|
|
|
|
|
description:data.data.Media.description,
|
|
|
|
|
coverImage:data.data.Media.coverImage.large
|
|
|
|
|
title:data.Media.title,
|
|
|
|
|
status:data.Media.status,
|
|
|
|
|
url:data.Media.siteUrl,
|
|
|
|
|
description:data.Media.description,
|
|
|
|
|
coverImage:data.Media.coverImage.large,
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|