Advertisement
Guest User

Untitled

a guest
Sep 16th, 2019
358
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. # add link of the enrolled course, person need to enroll first
  2. links = []
  3.  
  4. username = r'' # login id
  5. password = r'' # account password
  6. quality = r'' # quality of video to download
  7. folder = r'' # destination folder
  8. execu = r'start python -i udemy-dl.py' # path where udemy-dl file is present
  9.  
  10. import subprocess
  11.  
  12. for link in links:
  13. command = '{} -u {} -p {} -q {} -o {} {}'.format(execu, username, password, quality,folder,link)
  14. print("running command {}".format(command))
  15. subprocess.call(command,shell=True)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement