Message if audio stream not available on YouTube

This commit is contained in:
Ritiek
2017-06-22 13:45:43 +05:30
parent 258b21ff05
commit 5eba56d125
2 changed files with 22 additions and 14 deletions

View File

@@ -23,6 +23,7 @@ def input_link(links):
except ValueError:
print('Choose a valid number!')
# take input correctly for both python2 & 3
def user_input(string=''):
if sys.version_info > (3, 0):
return input(string)