Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #By Erick Merino Menares, alias:vincegeratorix
- import os
- archivo = str(input('Ingrese archivo con los videos, entre comillas: '))
- formato = str(input('Ingrese otras opciones, como el formato(s), entre comillas, incluya el "-f": '))
- with open(archivo) as f:
- content = f.readlines()
- for x in range(0, len(content)):
- cmd = str("youtube-dl" + " -o " + str(x+1).zfill(3) + "\"-%(title)s.%(ext)s\" " + formato + " " + content[x][0:-1])
- print(cmd)
- os.system(cmd)
Add Comment
Please, Sign In to add comment