From 55f9910e9880486b297c3643942e8282313bc7ab Mon Sep 17 00:00:00 2001 From: SashaXser <24498484+SashaXser@users.noreply.github.com> Date: Fri, 12 Jan 2024 04:18:44 +0400 Subject: [PATCH] Update youtubeUtils.js --- src/utils/youtubeUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/youtubeUtils.js b/src/utils/youtubeUtils.js index b185b4cc..df3d5a21 100644 --- a/src/utils/youtubeUtils.js +++ b/src/utils/youtubeUtils.js @@ -36,7 +36,7 @@ async function getLanguage(player, response, title, description) { // If there is no caption track, use detect to get the language code from the description const deletefilter = [ - /(http(s)?:\/\/.)?(www\.)?[-a-zA-Z0-9@:%._+~#=]{0,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_+.~#?&//=]*)/g, // remove links + /(http(s)?:\/\/.)?(www\.)?[-a-zA-Z0-9@:%._+~#=]{0,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)/g, // remove links /#[^\s#]+/g, /Auto-generated by YouTube/g, /Provided to YouTube by/g,