Skip to content

Commit

Permalink
Update youtubeUtils.js
Browse files Browse the repository at this point in the history
  • Loading branch information
SashaXser authored Jan 12, 2024
1 parent 3962e32 commit 55f9910
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 @@ -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,
Expand Down

0 comments on commit 55f9910

Please sign in to comment.