diff --git a/src/libpoketube/libpoketube-fetcher.js b/src/libpoketube/libpoketube-fetcher.js index d8e83822..495e3b04 100644 --- a/src/libpoketube/libpoketube-fetcher.js +++ b/src/libpoketube/libpoketube-fetcher.js @@ -38,6 +38,8 @@ module.exports = async function (video_id) { */ async function parsexml(id) { + + async function fetchxmlvideo() { try { const player = await fetch(`${new_api_url}?v=${id}`, headers);