Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (16 sloc) 598 Bytes
import argparse
import os
import subprocess
# Command line parser
parser = argparse.ArgumentParser(description='A quick and dirty way to create \
a living youtube playlist downloader')
'--path of Playlist.txt',
help='Path of Playlist.txt file and folder',
args = vars(parser.parse_args())
os.chdir(args['path of Playlist.txt'])
playlist = open('Playlist.txt', 'r')
for line in playlist.readlines():['youtube-dl', line])