Skip to content

Commit

Permalink
Update youtubeUtils.js
Browse files Browse the repository at this point in the history
  • Loading branch information
SashaXser authored Dec 30, 2023
1 parent edd15e7 commit e5e1395
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/youtubeUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ async function getLanguage(player, response, title, description) {
return "en";
}

// If there is no caption track, use detect to get the language code from the 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@:%._+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_+.~#?&//=]*)/g, // remove links
Expand Down

0 comments on commit e5e1395

Please sign in to comment.