mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-17 08:14:38 -05:00
fix ryd
This commit is contained in:
parent
5aaa683ea3
commit
c265878755
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class PokeTubeAPI {
|
||||||
*/
|
*/
|
||||||
async _getEngagementData() {
|
async _getEngagementData() {
|
||||||
const apiUrl = `${DISLIKE_API}${this.videoId}`;
|
const apiUrl = `${DISLIKE_API}${this.videoId}`;
|
||||||
const fallbackUrl = `https://p.poketube.fun/${apiUrl}`;
|
const fallbackUrl = `https://returnyoutubedislikeapi.com/votes?videoId=${this.videoId}`;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const engagement = await fetch(apiUrl).then((res) => res.json());
|
const engagement = await fetch(apiUrl).then((res) => res.json());
|
||||||
|
|
Loading…
Reference in a new issue