Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
38 views5 pages

Shiro Module 2

The document defines the configuration for a module that provides information about latest episodes, latest animes, search results, anime information, and playable episodes. It includes requests, headers, JavaScript functions and sample output for each section.

Uploaded by

ayedanashley
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views5 pages

Shiro Module 2

The document defines the configuration for a module that provides information about latest episodes, latest animes, search results, anime information, and playable episodes. It includes requests, headers, JavaScript functions and sample output for each section.

Uploaded by

ayedanashley
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 5

{

"moduleName": "Shiro.is",
"moduleInitials": "SHIRO",
"moduleDesc": "This is a module for shiro.is",
"developer": "Unknown",
"moduleID": "098567",
"moduleImage": "https://shiro.is/favicon.ico",
"moduleVersion": "1.1",
"moduleLenguage": "ENG",
"moduleHasVideos": "true",
"randomizeUserAgent": "false",
"baseURL": "https://shiro.is/",
"mainPageLeftTitle": "Latest Episdoes",
"mainPageRightTitle": "Latest Animes",
"blackListed": [
""
],
"mainPage": [
{
"request": "https://tapi.shiro.is/latest?token=Yopgjtcustomer7NX1Oe",
"method": "get",
"headers": [
{
"key": "",
"value": ""
}
],
"extraInfo": [
{
"value": ""
}
],
"loadJavascript": "false",
"javaScript": "function Header(key,value) { this.key = key; this.value =
value; } function ExtraInfo(value) { this.value = value; } function
Output(lastEpisodes,lastAnimes) { this.lastEpisodes = lastEpisodes; this.lastAnimes
= lastAnimes; } function LastAnimes(moduleID,image,link,title) { this.moduleID =
moduleID; this.image = image; this.link = link; this.title = title; } function
LastEpisodes(moduleID,image,link,title,episode) { this.moduleID = moduleID;
this.image = image; this.link = link; this.title = title; this.episode = episode; }
function
MainPageObject(request,headers,method,extraInfo,loadJavascript,javaScript,output) {
this.request = request; this.headers = headers; this.method = method;
this.extraInfo = extraInfo; this.loadJavascript = loadJavascript; this.javaScript =
javaScript; this.output = output; } var savedData = document.getElementById('katsu-
final-data'); var parsedJson = JSON.parse(savedData.innerHTML); var moduleID =
'098567'; var headers = [new Header('','')]; var extraInfo = [new ExtraInfo('')];
var mainPageObject; var output; var lastAnimes = []; var lastEpisodes = []; var
data = JSON.parse(document.querySelector('body > script:nth-
child(2)').innerText.replace('//' , ''));var episodes =
data.data.latest_episodes;for(var x = 11; x < 40; x++){ var data = episodes[x]; var
image = 'https://cdn.shiro.is/' + data.anime.image; var link =
'https://tapi.shiro.is/anime-episode/slug/' + data.slug + '?
token=Yopgjtcustomer7NX1Oe'; var title = data.name; var ep = 'Episode: ' +
data.anime.episodeCount; var episodeObject = new LastEpisodes (moduleID , image ,
link , title , ep); lastEpisodes.push(episodeObject);}var datalol =
JSON.parse(document.querySelector('body > script:nth-
child(2)').innerText.replace('//' , ''));var animes =
datalol.data.latest_animes;for(var i = 0; i < 30; i++){var data = animes[i];var
image = 'https://cdn.shiro.is/' + data.image;var link =
'https://tapi.shiro.is/anime/slug/' + data.slug + '?token=Yopgjtcustomer7NX1Oe';var
title = data.name;var animeObject = new LastAnimes(moduleID , image , link ,
title);lastAnimes.push(animeObject);} while (lastEpisodes.length % 2 != 0)
{ lastEpisodes.push(lastEpisodes[0]); } while (lastAnimes.length % 3 != 0)
{ lastAnimes.push(lastAnimes[0]); } output = new Output(lastEpisodes,lastAnimes);
mainPageObject = new MainPageObject('',headers,'',extraInfo,'','',output); var
finalJson = JSON.stringify(mainPageObject); savedData.innerHTML = finalJson;",
"output": {
"lastEpisodes": [
{
"moduleID": "0",
"image": "",
"link": "",
"title": "",
"episode": ""
}
],
"lastAnimes": [
{
"moduleID": "0",
"image": "",
"link": "",
"title": ""
}
]
}
}
],
"search": [
{
"request": "https://tapi.shiro.is/advanced?
search=<searched>&page=<page>&token=Yopgjtcustomer7NX1Oe",
"method": "get",
"headers": [
{
"key": "",
"value": ""
}
],
"separator": "+",
"extraInfo": [
{
"value": ""
}
],
"loadJavascript": "false",
"javaScript": "function Header(key,value) { this.key = key; this.value =
value; } function ExtraInfo(value) { this.value = value; } function
Output(moduleID,image,link,title,type,voice,stars) { this.moduleID = moduleID;
this.image = image; this.link = link; this.title = title; this.type = type;
this.voice = voice; this.stars = stars; } function
SearchObject(request,method,headers,separator,extraInfo,loadJavascript,javaScript,o
utput) { this.request = request; this.method = method; this.headers = headers;
this.separator = separator; this.extraInfo = extraInfo; this.loadJavascript =
loadJavascript; this.javaScript = javaScript; this.output = output; } var savedData
= document.getElementById('katsu-final-data'); var parsedJson =
JSON.parse(savedData.innerHTML); var moduleID = '098567'; var headers = [new
Header('','')]; var extraInfo = [new ExtraInfo('')]; var searchPageObject; var
output = []; var data = JSON.parse(document.querySelector('body > script:nth-
child(2)').innerText.replace('//' , ''));var neededdata =
data.data.nav.currentPage.items; for(var i = 0; i < neededdata.length; i++){ var
data = neededdata[i]; var image = 'https://cdn.shiro.is/' + data.image; var link =
'https://tapi.shiro.is/anime/slug/' + data.slug + '?token=Yopgjtcustomer7NX1Oe';
var title = data.name; var type = data.language; var voice = data.status; var stars
= data.episodeCount + ' Episodes'; var searchObject = new Output (moduleID ,
image , link , title , type , voice , stars); output.push(searchObject); }
searchPageObject = new SearchObject('','',headers,'+',extraInfo,'','',output); var
finalJson = JSON.stringify(searchPageObject); savedData.innerHTML = finalJson;",
"output": [
{
"moduleID": "0",
"image": "",
"link": "",
"title": "",
"type": "",
"voice": "",
"stars": ""
}
]
}
],
"info": [
{
"request": "this Can be empty",
"method": "get",
"headers": [
{
"key": "",
"value": ""
}
],
"extraInfo": [
{
"value": ""
}
],
"loadJavascript": "false",
"javaScript": "function Header(key,value) { this.key = key; this.value =
value; } function ExtraInfo(value) { this.value = value; } function
Output(moduleID,image,link,title,description,genres,type,status,episodes)
{ this.moduleID = moduleID; this.image = image; this.link = link; this.title =
title; this.description = description; this.genres = genres; this.type = type;
this.status = status; this.episodes = episodes; } function
Episodes(link,moduleID,isDecodable) { this.link = link; this.moduleID = moduleID;
this.isDecodable = isDecodable; } function
InfoObject(request,method,headers,extraInfo,loadJavascript,javaScript,output)
{ this.request = request; this.method = method; this.headers = headers;
this.extraInfo = extraInfo; this.loadJavascript = loadJavascript; this.javaScript =
javaScript; this.output = output; } var savedData = document.getElementById('katsu-
final-data'); var parsedJson = JSON.parse(savedData.innerHTML); var moduleID =
'098567'; var headers = [new Header('', '')]; var extraInfo = [new ExtraInfo('')];
var infoObject; var output;var data = JSON.parse(document.querySelector('body >
script:nth-child(2)').innerText.replace('//' , '')); var episodes = []; var lmao =
data.data.episodes; for(var i = 0; i < lmao.length; i++){ var lolll =
'https://tapi.shiro.is/anime-episode/slug/' + data.data.episodes[i].slug + '?
token=Yopgjtcustomer7NX1Oe'; episodes.push(new Episodes(lolll , moduleID ,
'false')); } var type = data.data.type; var status = data.data.status; var genres =
[]; var lol = data.data.genres; for(var x = 0; x < lol.length; x++)
{ genres.push(data.data.genres[x]); } var desc = data.data.synopsis; var image =
'https://cdn.shiro.is/' + data.data.banner; var title = data.data.name; output =
new
Output(moduleID,image,parsedJson.request,title,desc,genres,type,status,episodes);
infoObject = new InfoObject('','get',headers,extraInfo,'', '',output); var
finalJson = JSON.stringify(infoObject); savedData.innerHTML = finalJson;",
"output": {
"moduleID": "0",
"image": "",
"link": "",
"title": "",
"description": "",
"genres": [
""
],
"type": "",
"status": "",
"episodes": [
{
"link": "",
"moduleID": "",
"isDecodable": "false"
}
]
}
}
],
"episodes": [
{
"request": "This can be Empty",
"method": "get",
"headers": [
{
"key": "",
"value": ""
}
],
"extraInfo": [
{
"value": ""
}
],
"loadJavascript": "true",
"javaScript": "function Header(key, value) { this.key = key; this.value =
value;}function ExtraInfo(value) { this.value = value;}function Output(link,
linkIdentifier, moduleID, isDecodable, headers) { this.link = link;
this.linkIdentifier = linkIdentifier; this.moduleID = moduleID; this.isDecodable =
isDecodable; this.headers = headers;}function EpisodeObject(request, method,
headers, extraInfo, loadJavascript, javaScript, output) { this.request = request;
this.method = method; this.headers = headers; this.extraInfo = extraInfo;
this.loadJavascript = loadJavascript; this.javaScript = javaScript; this.output =
output;}var savedData = document.getElementById('katsu-final-data');var parsedJson
= JSON.parse(savedData.innerHTML);var moduleID = '098567';var headers = [new
Header('Referer', 'https://shiro.is/')];var extraInfo = [new ExtraInfo('')];var
episodeObject;var output = [];var data = JSON.parse(document.querySelector('body >
script:nth-child(2)').innerText.replace('//', ''));var linklol =
'https://cherry.subsplea.se/' + data.data.videos[0].video_id;var linkidentify =
'SHIRO';var isdecode = 'false';output.push(new Output(linklol, linkidentify,
moduleID, isdecode, headers));episodeObject = new EpisodeObject('', '', headers,
extraInfo, '', '', output);var finalJson =
JSON.stringify(episodeObject);savedData.innerHTML = finalJson;",
"output": [
{
"link": "",
"moduleID": "",
"linkIdentifier": "",
"isDecodable": "false",
"headers": [
{
"key": "key",
"value": "value"
}
]
}
]
}
]
}

You might also like