aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/tools/import-videos.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/tools/import-videos.ts b/server/tools/import-videos.ts
index 72223a01a..baaedd329 100644
--- a/server/tools/import-videos.ts
+++ b/server/tools/import-videos.ts
@@ -54,8 +54,8 @@ async function run () {
54 const options = [ '-j', '--flat-playlist', '--playlist-reverse' ] 54 const options = [ '-j', '--flat-playlist', '--playlist-reverse' ]
55 youtubeDL.getInfo(program['targetUrl'], options, processOptions, async (err, info) => { 55 youtubeDL.getInfo(program['targetUrl'], options, processOptions, async (err, info) => {
56 if (err) { 56 if (err) {
57 console.log(err.message); 57 console.log(err.message)
58 process.exit(1); 58 process.exit(1)
59 } 59 }
60 60
61 let infoArray: any[] 61 let infoArray: any[]
@@ -160,8 +160,8 @@ async function uploadVideoOnPeerTube (videoInfo: any, videoPath: string, languag
160 160
161 await uploadVideo(program['url'], accessToken, videoAttributes) 161 await uploadVideo(program['url'], accessToken, videoAttributes)
162 } else { 162 } else {
163 console.log(err.message); 163 console.log(err.message)
164 process.exit(1); 164 process.exit(1)
165 } 165 }
166 } 166 }
167 167