ref impl : yt-dlp wrapper: whatever :)

This commit is contained in:
lovebird 2025-03-10 14:50:22 +01:00
parent 7cce1cc6c2
commit 4565803076
2 changed files with 5 additions and 2 deletions

View File

@ -19,7 +19,10 @@
"watch": "tsc --watch",
"start": "node dist/cli.js",
"dev": "ts-node --esm src/cli.ts",
"test": "echo \"Error: no test specified\" && exit 1"
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:ui": "vitest --ui"
},
"keywords": [
"yt-dlp",

View File

@ -181,7 +181,7 @@ export class YtDlp {
// Add user agent if specified in global options
if (this.options.userAgent) {
args.push('--user-agent', this.options.userAgent);
args.push('--user-agent', `"${this.options.userAgent}"`);
}
// Add VideoInfoOptions flags