Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import os
- def main():
- songs = []
- userIn = "5"
- while(userIn != ""):
- userIn = input("Youtube URL: ")
- if(userIn == ""):
- break
- songs.append(userIn)
- for s in songs:
- os.system('youtube-dl -x --audio-format mp3 ' + s)
- print("Program Complete!")
- if __name__ == '__main__':
- main()
Add Comment
Please, Sign In to add comment