Complete rewrite #2

Merged
glax merged 30 commits from cuttingedge into master 2023-09-19 17:02:12 +02:00
Showing only changes of commit 5927374271 - Show all commits

View File

@ -58,9 +58,14 @@ async function GetAvailableControllers(){
}
async function GetPublicationFromConnector(connector, title){
var uri = `${apiUri}/Manga/FromConnector?connector=${connector}&title=${title}`;
let json = await GetData(uri);
return json;
var uri;
if(title.includes("http")){
uri = `${apiUri}/Manga/FromConnector?connector=${connector}&url=${title}`;
}else{
uri = `${apiUri}/Manga/FromConnector?connector=${connector}&title=${title}`;
}
let json = await GetData(uri);
return json;
}
async function GetChapters(connector, internalId){