diff --git a/src/libpoketube/libpoketube-fetcher.js b/src/libpoketube/libpoketube-fetcher.js index a27e2166..6c3fe08c 100644 --- a/src/libpoketube/libpoketube-fetcher.js +++ b/src/libpoketube/libpoketube-fetcher.js @@ -47,7 +47,7 @@ function getJson(str) { const player = await fetch(`${new_api_url}?v=${id}`, headers); var h = await player.text(); var j = toJson(h); - return JSON.parse(j); + return getJson(j); } /*