Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sataniceypz authored Sep 9, 2024
1 parent 7addbb0 commit 0c5c1d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/yt.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ const yts = require('yt-search');
const fg = require('api-dylux');
const config = require('../config');

// Function to clean YouTube URL

function cleanUrl(url) {
return url.split('?')[0]; // Removes any query parameters after the main URL
return url.split('?')[0];
}

const patterns = [
Expand Down

0 comments on commit 0c5c1d4

Please sign in to comment.