Skip to content

Commit

Permalink
youtube download binary can be specified via YOUTUBE envvar, #32
Browse files Browse the repository at this point in the history
  • Loading branch information
ondras committed May 3, 2024
1 parent a6df882 commit abb70c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const port = Number(process.argv[2]) || process.env.PORT || 8080;

let tickets = [];

const cmd = "youtube-dl";
const cmd = process.env.YOUTUBE || "youtube-dl";

function escape(arg) {
return `'${arg.replace(/'/g, `'\\''`)}'`;
Expand Down

0 comments on commit abb70c8

Please sign in to comment.