change class names :3

This commit is contained in:
Ashley 2023-06-02 15:57:53 +00:00
parent c49248a0a0
commit 6b701a09da

View file

@ -131,7 +131,7 @@ class PokeTubeCore {
// Store result in cache // Store result in cache
this.cache[v] = { this.cache[v] = {
result: { result: {
json: fe?.video?.Player, json: json?.video,
video, video,
vid, vid,
comments, comments,
@ -179,11 +179,11 @@ class PokeTubeCore {
} }
// Create an instance of PokeTubeCore with the provided config // Create an instance of PokeTubeCore with the provided config
const pokeTubeCore = new PokeTubeCore({ const pokeTubeApiCore = new PokeTubeCore({
tubeApi: "https://inner-api.poketube.fun/api/", tubeApi: "https://inner-api.poketube.fun/api/",
invapi: "https://invid-api.poketube.fun/api/v1", invapi: "https://invid-api.poketube.fun/api/v1",
dislikes: "https://returnyoutubedislikeapi.com/votes?videoId=", dislikes: "https://returnyoutubedislikeapi.com/votes?videoId=",
t_url: "https://t.poketube.fun/", t_url: "https://t.poketube.fun/",
}); });
module.exports = pokeTubeCore; module.exports = pokeTubeApiCore;