From 7a40b46f81e210e20854b3e2cd8838fb17172377 Mon Sep 17 00:00:00 2001 From: xaloc Date: Sun, 3 May 2020 03:54:39 +0200 Subject: [PATCH] add logic for joined or separated audio and video --- skilldown.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/skilldown.py b/skilldown.py index fe0705f..ffdfd2d 100755 --- a/skilldown.py +++ b/skilldown.py @@ -5,6 +5,10 @@ import wget as wget from urllib.request import urlopen from urllib.error import HTTPError +sep = input("Are audio and video in the Same or Different files? [S|D]") +sep = sep.lower() +if not(sep=='s' or sep=='d'): + raise ValueError("The answer should be S or D") #video i=0 while True: