Skip to content

Instantly share code, notes, and snippets.

@Aniket965
Last active May 23, 2020 09:23
Show Gist options
  • Save Aniket965/7533232cedd0c1d7c3b732c0c7079817 to your computer and use it in GitHub Desktop.
Save Aniket965/7533232cedd0c1d7c3b732c0c7079817 to your computer and use it in GitHub Desktop.
youtube playlist downloader
from subprocess import call
url = raw_input();
command = "youtube-dl --ignore-errors --output '%(playlist)s/%(playlist_index)s.mp4 "+ str(url)+" -c";
call(command.split(), shell=False)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment