add.php prefix bacc

Este commit está contenido en:
Joey
2023-09-27 06:14:21 +00:00
cometido por GitHub
padre d5dae3f3e6
commit 150589bb3d

Ver fichero

@@ -9,7 +9,7 @@ var API_SERVICE = 'SPOTIFY';
const URL_STREAMING = 'https://stream-51.zeno.fm/cfhkm5fs1uhvv?zs=HOu6hxV1SG-7iGi9WGVTqQ'; const URL_STREAMING = 'https://stream-51.zeno.fm/cfhkm5fs1uhvv?zs=HOu6hxV1SG-7iGi9WGVTqQ';
//API URL / if you use MEDIA CP, CHANGE THIS TO : https://api.streamafrica.net/metadata/mediacp.php?url='+MEDIACP_JSON_URL //API URL / if you use MEDIA CP, CHANGE THIS TO : https://api.streamafrica.net/metadata/mediacp.php?url='+MEDIACP_JSON_URL
const API_URL = 'https://api.streamafrica.net/metadata/index?z='+URL_STREAMING const API_URL = 'https://api.streamafrica.net/metadata/index.php?z='+URL_STREAMING
// Visit https://api.vagalume.com.br/docs/ to get your API key // Visit https://api.vagalume.com.br/docs/ to get your API key
const API_KEY = "18fe07917957c289983464588aabddfb"; const API_KEY = "18fe07917957c289983464588aabddfb";
@@ -94,7 +94,7 @@ function Page() {
$historicDiv[n].classList.add('animated'); $historicDiv[n].classList.add('animated');
$historicDiv[n].classList.add('slideInRight'); $historicDiv[n].classList.add('slideInRight');
} }
xhttp.open('GET', 'https://api.streamafrica.net/new.search?query=' + info.artist + ' ' + info.song + '&service=' + API_SERVICE.toLowerCase()); xhttp.open('GET', 'https://api.streamafrica.net/new.search.php?query=' + info.artist + ' ' + info.song + '&service=' + API_SERVICE.toLowerCase());
xhttp.send(); xhttp.send();
setTimeout(function () { setTimeout(function () {
@@ -168,7 +168,7 @@ function Page() {
} }
} }
} }
xhttp.open('GET', 'https://api.streamafrica.net/new.search?query=' + artist + ' ' + song + '&service=' + API_SERVICE.toLowerCase()); xhttp.open('GET', 'https://api.streamafrica.net/new.search.php?query=' + artist + ' ' + song + '&service=' + API_SERVICE.toLowerCase());
xhttp.send(); xhttp.send();
} }