Skip to content

Commit

Permalink
chore(yt-dlp, youtube-dl): remove unused declaration
Browse files Browse the repository at this point in the history
Signed-off-by: Tianling Shen <[email protected]>
  • Loading branch information
1715173329 committed Sep 3, 2024
1 parent 4e5e34e commit 055ae14
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/provider/youtube-dl.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ const { spawnStdout } = require('../spawn');
* @param {string} query
*/
const dlArguments = (query) => ['-f', '140', '--dump-json', query];
/** @param {string} id */
const byId = (id) => `https://www.youtube.com/watch?v=${id}`;
/** @param {string} keyword */
const byKeyword = (keyword) => `ytsearch1:${keyword}`;
const logger = logScope('provider/youtube-dl');
Expand Down
2 changes: 0 additions & 2 deletions src/provider/yt-dlp.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ const YtDlpNotInstalled = require('../exceptions/YtDlpNotInstalled');
* @param {string} query
*/
const dlArguments = (query) => ['-f', '140', '--dump-json', query];
/** @param {string} id */
const byId = (id) => `https://www.youtube.com/watch?v=${id}`;
/** @param {string} keyword */
const byKeyword = (keyword) => `ytsearch1:${keyword}`;
const logger = logScope('provider/yt-dlp');
Expand Down

0 comments on commit 055ae14

Please sign in to comment.