This commit is contained in:
Ashley 2023-08-09 18:47:28 +00:00
parent 5aaa683ea3
commit c265878755

View file

@ -56,7 +56,7 @@ class PokeTubeAPI {
*/
async _getEngagementData() {
const apiUrl = `${DISLIKE_API}${this.videoId}`;
const fallbackUrl = `https://p.poketube.fun/${apiUrl}`;
const fallbackUrl = `https://returnyoutubedislikeapi.com/votes?videoId=${this.videoId}`;
try {
const engagement = await fetch(apiUrl).then((res) => res.json());