diff --git a/src/lib/helpers/youtubePlayerHandling.ts b/src/lib/helpers/youtubePlayerHandling.ts index a545e12..11b7ae3 100644 --- a/src/lib/helpers/youtubePlayerHandling.ts +++ b/src/lib/helpers/youtubePlayerHandling.ts @@ -45,6 +45,11 @@ export const youtubePlayerParsing = async ( const streamingData = video.streaming_data; + // WORKAROUND the issue with TV client not returning any short description + if (!videoData.videoDetails.shortDescription) { + videoData.videoDetails.shortDescription = ""; + } + // Modify the original YouTube response to include deciphered URLs if (streamingData && videoData && videoData.streamingData) { const ecatcherServiceTracking = videoData.responseContext