summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2020-04-03 01:48:37 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2020-04-03 01:48:37 +0000
commitc243e8df0fbbad55511d1d159e06b8dda0d2f5ae (patch)
treec27746d433f5840f8ce7835a4b828ff44b9b27ed
parentUpdating. (diff)
downloadyoutube-dl-c243e8df0fbbad55511d1d159e06b8dda0d2f5ae.tar.xz
youtube-dl-c243e8df0fbbad55511d1d159e06b8dda0d2f5ae.zip
Updating.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
-rwxr-xr-xdownload.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/download.py b/download.py
index 37f6f1f..6a189b2 100755
--- a/download.py
+++ b/download.py
@@ -53,7 +53,7 @@ if __name__ == '__main__':
if File:
Command = 'youtube-dl --get-filename --restrict-filenames -o \'' + File + '.original.%(ext)s\' ' + URL
else:
- Command = 'youtube-dl --get-filename --restrict-filenames -o \'%(title)soriginal.%(ext)s\' ' + URL
+ Command = 'youtube-dl --get-filename --restrict-filenames -o \'%(title)s.original.%(ext)s\' ' + URL
Video = get_response(Command)[0].strip().decode('utf-8')
@@ -83,7 +83,7 @@ if __name__ == '__main__':
if File:
Command = 'youtube-dl --get-filename --restrict-filenames -f best[ext=mp4] -o \'' + File + '.streaming.%(ext)s\' ' + URL
else:
- Command = 'youtube-dl --get-filename --restrict-filenames -f best[ext=mp4] -o \'%(title)sstreaming.%(ext)s\' ' + URL
+ Command = 'youtube-dl --get-filename --restrict-filenames -f best[ext=mp4] -o \'%(title)s.streaming.%(ext)s\' ' + URL
Video = get_response(Command)[0].strip().decode('utf-8')