Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # add link of the enrolled course, person need to enroll first
- links = []
- username = r'' # login id
- password = r'' # account password
- quality = r'' # quality of video to download
- folder = r'' # destination folder
- execu = r'start python -i udemy-dl.py' # path where udemy-dl file is present
- import subprocess
- for link in links:
- command = '{} -u {} -p {} -q {} -o {} {}'.format(execu, username, password, quality,folder,link)
- print("running command {}".format(command))
- subprocess.call(command,shell=True)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement