From b94471343ee9f0950fee0c5fd036c9576e5d9175 Mon Sep 17 00:00:00 2001 From: Ashley Date: Sat, 11 Mar 2023 13:41:12 +0000 Subject: [PATCH] this is definitely one of the commits ever --- src/libpoketube/libpoketube-core.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libpoketube/libpoketube-core.js b/src/libpoketube/libpoketube-core.js index e91940e5..a74a3b7e 100644 --- a/src/libpoketube/libpoketube-core.js +++ b/src/libpoketube/libpoketube-core.js @@ -133,11 +133,11 @@ async function video(v) { .then((xml) => getJson(toJson(xml))) .catch(" ") - + // Store result in cache cache[v] = { result: { - json: data.video.Player, + json: data?.video?.Player, video, vid, comments,