ref impl : yt-dlp wrapper: whatever :)
This commit is contained in:
parent
7cce1cc6c2
commit
4565803076
@ -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",
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user