0% found this document useful (0 votes)
202 views2 pages

Gogo Anime Resolver

The document describes a module for resolving anime streaming links from various sites. It contains details on the module like its name, developer, and base URL. It also includes JavaScript code for making requests, parsing responses, and outputting links with quality labels.

Uploaded by

nolanjquilang
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)
202 views2 pages

Gogo Anime Resolver

The document describes a module for resolving anime streaming links from various sites. It contains details on the module like its name, developer, and base URL. It also includes JavaScript code for making requests, parsing responses, and outputting links with quality labels.

Uploaded by

nolanjquilang
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/ 2

{ "moduleName": "ANIMESTREAMING", "nameMatches": [ "ANIMESTREAMING",

"GOGO-STREAM", "GOGO-PLAY", "STREAMANI" ], "developer": "Uknown",


"moduleID": "105", "moduleVersion": "3.8", "baseURL": "", "resolver": [ {
"request": "empty", "method": "get", "userAgent": "", "referer":
"", "headers": [ { "key": "Referer", "value":
"https://gogoanime.pe/" } ], "extraInfo": [ {
"value": "" } ], "loadJavascript": "false", "javaScript":
"function Header(key, value) { this.key = key; this.value = value;}function
ExtraInfo(value) { this.value = value;}function Output(link, moduleID, headers,
quality) { this.quality = quality; this.link = link; this.moduleID = moduleID;
this.headers = headers}function ResolverLogic(request, method, userAgent, referer,
headers, extraInfo, loadJavascript, javaScript, output) { this.request = request;
this.method = method; this.userAgent = userAgent; this.referer = referer;
this.headers = headers; this.extraInfo = extraInfo; this.loadJavascript =
loadJavascript; this.javaScript = javaScript; this.output = output;}var moduleID =
'100';var resolverLogic;var output = [];var requestHeaders = [new Header('Referer',
'https://gogoanime.pe/')];var extraInfo = [new ExtraInfo('done')];var savedData =
document.getElementById('katsu-final-data');var parsedJson =
JSON.parse(savedData.innerHTML);var nextRequest = parsedJson.request +
'&done=done';if (parsedJson.request.includes('io/load.php?')) { var videoHeaders =
[new Header('Referer', 'https://vidstreaming.io/')]; var scripts =
document.querySelectorAll('p'); for (var x = 0; scripts.length; x++) { let
scritpText = scripts[x].innerHTML; if
(scritpText.includes('playerInstance.setup({')) { var j1 = scritpText.split('\\'');
for (var r = 0; r < j1.length; r++) { if (j1[r].includes('https') && !
parsedJson.request.includes('&done=done')) { if (j1[r].includes('hls') ||
j1[r].includes('m3u8') || j1[r].includes('goto.php') || j1[r].includes('.mp4') ||
j1[r].includes('file')) if (!j1[r].includes('m3u8') || !j1[r].includes('hls'))
{ output.push(new Output(j1[r], moduleID, videoHeaders, 'MP4 ★')); } else
{ output.push(new Output(j1[r], moduleID, videoHeaders, 'M3U8')); } } } break; } }}
else { var scripts = document.querySelector('.videocontent').querySelectorAll('p');
for (var x = 0; x < scripts.length; x++) { try { var script = scripts[x].innerText;
if (script.includes('f(\"')) { var finalScript = script.split('\"')[1]; nextRequest
= 'https://gogo-play.net/ajax.php?id=' + finalScript; } } catch {} }
output.push(new Output('', '', requestHeaders, ''));}resolverLogic = new
ResolverLogic(nextRequest, 'get', '', '', requestHeaders, extraInfo, '', '',
output);var finalJson = JSON.stringify(resolverLogic);savedData.innerHTML =
finalJson;", "output": [ { "quality": "", "link":
"", "moduleID": "", "headers":
[ { "key": "key", "value": "value"
} ] } ] }, { "request": "empty",
"method": "get", "userAgent": "", "referer": "", "headers": [
{ "key": "key", "value": "value" } ],
"extraInfo": [ { "value": "" } ],
"loadJavascript": "false", "javaScript": "function Header(key, value)
{ this.key = key; this.value = value;}function ExtraInfo(value) { this.value =
value;}function Output(link, moduleID, headers, quality) { this.quality = quality;
this.link = link; this.moduleID = moduleID; this.headers = headers}function
ResolverLogic(request, method, userAgent, referer, headers, extraInfo,
loadJavascript, javaScript, output) { this.request = request; this.method = method;
this.userAgent = userAgent; this.referer = referer; this.headers = headers;
this.extraInfo = extraInfo; this.loadJavascript = loadJavascript; this.javaScript =
javaScript; this.output = output;}var moduleID = '100';var key =
'imthekeyofthejson';var resolverLogic;var output = [];var requestHeaders = [new
Header('Referer', 'https://gogo-stream.com/')];var extraInfo = [new
ExtraInfo('')];var savedData = document.getElementById('katsu-final-data');var
parsedJson = JSON.parse(savedData.innerHTML);var data =
document.querySelector('script').innerText.replace('//', '');if (!
data.includes('imthekeyofthejson')) { var parsedData = JSON.parse(data); var m3u8 =
parsedData.source_bk; var mp4 = parsedData.source; for (var x = 0; x < mp4.length;
x++) { var selectedm3u8 = mp4[x]; if (selectedm3u8 != '') { output.push(new
Output(selectedm3u8.file, moduleID, requestHeaders, selectedm3u8.label)); } } for
(var x = 0; x < m3u8.length; x++) { var selectedm3u8 = m3u8[x]; if (selectedm3u8 !=
'') { output.push(new Output(selectedm3u8.file, moduleID, requestHeaders,
selectedm3u8.label)); } }} else { var scripts = document.querySelectorAll('p'); for
(var x = 0; x < scripts.length; x++) { var actualScript = scripts[x].innerText; if
(actualScript.includes('playerInstance')) { var links = actualScript.split('\\'');
for (var y = 0; y < links.length; y++) { var finalLink = links[y]; if
(finalLink.includes('http')) { if (finalLink.includes('php?url') ||
finalLink.includes('m3u8') || finalLink.includes('mp4') ||
finalLink.includes('hls') || finalLink.includes('file')) { var quality = 'MP4'; if
(finalLink.includes('m3u8') || finalLink.includes('hls')) { quality = 'HLS'; }
output.push(new Output(finalLink, moduleID, requestHeaders, quality)); } } } break;
} }}if (output.length > 0) { if (output[output.length - 1].quality != 'HLS' &&
output[output.length - 1].quality != 'hls' ) { output.reverse(); }}resolverLogic =
new ResolverLogic('', 'get', '', '', requestHeaders, extraInfo, '', '', output);var
finalJson = JSON.stringify(resolverLogic);savedData.innerHTML = finalJson;",
"output": [ { "quality": "", "link": "",
"moduleID": "", "headers": [ { "key": "key",
"value": "value" } ] } ] } ] }

You might also like