1
Fork 0
This commit is contained in:
Ashley 2022-06-22 14:44:12 +03:00 committed by GitHub
parent 5b56e97eaa
commit 42ad36fc0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@ const url = require("../config.json")
class Search{
static async SearchVideo(query){
const search = await fetch(`https://lighttube.herokuapp.com/api/search?query=${query}`)
const search = await fetch(`https://tube.kuylar.dev/api/search?query=${query}`)
const text = await search.text()
const j = JSON.parse(xmltojson.toJson(text));
for (item of j.Search.Results.Video) {