aboutsummaryrefslogtreecommitdiff
path: root/scripts/ytdlp_flatten.ts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/ytdlp_flatten.ts')
-rw-r--r--scripts/ytdlp_flatten.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/ytdlp_flatten.ts b/scripts/ytdlp_flatten.ts
index 7cd9da1..84bbc8f 100644
--- a/scripts/ytdlp_flatten.ts
+++ b/scripts/ytdlp_flatten.ts
@@ -16,7 +16,9 @@ async function flat_playlist(url: string, kind: string, output: string) {
"--print-json",
"--match-filter", "availability=public & live_status=not_live",
url
- ]
+ ],
+ stdout: "piped",
+ stderr: "inherit",
}).output()
const otext = new TextDecoder().decode(o.stdout)
for (const line of otext.split("\n")) {