aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tools/peertube-import-videos.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tools/peertube-import-videos.ts')
-rw-r--r--server/tools/peertube-import-videos.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tools/peertube-import-videos.ts b/server/tools/peertube-import-videos.ts
index 52aae3d2c..488109b7a 100644
--- a/server/tools/peertube-import-videos.ts
+++ b/server/tools/peertube-import-videos.ts
@@ -407,7 +407,7 @@ function getYoutubeDLInfo (youtubeDL: any, url: string, args: string[]) {
407 return new Promise<any>((res, rej) => { 407 return new Promise<any>((res, rej) => {
408 const options = [ '-j', '--flat-playlist', '--playlist-reverse', ...args ] 408 const options = [ '-j', '--flat-playlist', '--playlist-reverse', ...args ]
409 409
410 youtubeDL.getInfo(url, options, processOptions, async (err, info) => { 410 youtubeDL.getInfo(url, options, processOptions, (err, info) => {
411 if (err) return rej(err) 411 if (err) return rej(err)
412 412
413 return res(info) 413 return res(info)