diff --git a/src/lib/helpers/youtubePlayerHandling.ts b/src/lib/helpers/youtubePlayerHandling.ts index f03aba9..77257d5 100644 --- a/src/lib/helpers/youtubePlayerHandling.ts +++ b/src/lib/helpers/youtubePlayerHandling.ts @@ -86,7 +86,7 @@ export const youtubePlayerParsing = async ( }, }))(videoData); - if (konfigStore.get("cache.enabled") == true) { + if (konfigStore.get("cache.enabled") == true && videoData.playabilityStatus?.status == "OK") { (async () => { await kv.set( ["video_cache", videoId],