Tell us what happens instead. If the script fails, please copy the entire
output of the command or the stacktrace (don't forget to obfuscate your
username and password). If you cannot copy the exception, attach a screenshot.
ERROR: M-XlYymh714: YouTube said: This video is private.
Traceback (most recent call last):
File "/usr/local/bin/edx-dl", line 11, in
sys.exit(main())
File "/home/simon/.local/lib/python2.7/site-packages/edx_dl/edx_dl.py", line 1051, in main
download(args, selections, all_units, headers)
File "/home/simon/.local/lib/python2.7/site-packages/edx_dl/edx_dl.py", line 836, in download
headers)
File "/home/simon/.local/lib/python2.7/site-packages/edx_dl/edx_dl.py", line 808, in download_unit
skip_or_download(res_downloads, headers, args)
File "/home/simon/.local/lib/python2.7/site-packages/edx_dl/edx_dl.py", line 767, in skip_or_download
f(url, filename, headers, args)
File "/home/simon/.local/lib/python2.7/site-packages/edx_dl/edx_dl.py", line 700, in download_url
download_youtube_url(url, filename, headers, args)
File "/home/simon/.local/lib/python2.7/site-packages/edx_dl/edx_dl.py", line 740, in download_youtube_url
execute_command(cmd, args)
File "/home/simon/.local/lib/python2.7/site-packages/edx_dl/utils.py", line 42, in execute_command
raise e
subprocess.CalledProcessError: Command '['youtube-dl', '--ignore-config', '-o', u'Downloaded/Introduction_to_Computer_Science/01-CS50x2017/01-%(title)s-%(id)s.%(ext)s', '-f', 'mp4', u'https://youtu.be/M-XlYymh714']' returned non-zero exit status 1
🚨Please review the Troubleshooting section before reporting any issue. Don't forget also to check the current issues to avoid duplicates.
Subject of the issue
ERROR: M-XlYymh714: YouTube said: This video is private.
Your environment
Steps to reproduce
Tell us how to reproduce this issue. Please provide us the course URL, and the specific subsection or unit if possible. https://courses.edx.org/courses/course-v1:HarvardX+CS50+X/info
Expected behaviour
The videos should start downloading
Actual behaviour
Tell us what happens instead. If the script fails, please copy the entire output of the command or the stacktrace (don't forget to obfuscate your username and password). If you cannot copy the exception, attach a screenshot. ERROR: M-XlYymh714: YouTube said: This video is private. Traceback (most recent call last): File "/usr/local/bin/edx-dl", line 11, in
sys.exit(main())
File "/home/simon/.local/lib/python2.7/site-packages/edx_dl/edx_dl.py", line 1051, in main
download(args, selections, all_units, headers)
File "/home/simon/.local/lib/python2.7/site-packages/edx_dl/edx_dl.py", line 836, in download
headers)
File "/home/simon/.local/lib/python2.7/site-packages/edx_dl/edx_dl.py", line 808, in download_unit
skip_or_download(res_downloads, headers, args)
File "/home/simon/.local/lib/python2.7/site-packages/edx_dl/edx_dl.py", line 767, in skip_or_download
f(url, filename, headers, args)
File "/home/simon/.local/lib/python2.7/site-packages/edx_dl/edx_dl.py", line 700, in download_url
download_youtube_url(url, filename, headers, args)
File "/home/simon/.local/lib/python2.7/site-packages/edx_dl/edx_dl.py", line 740, in download_youtube_url
execute_command(cmd, args)
File "/home/simon/.local/lib/python2.7/site-packages/edx_dl/utils.py", line 42, in execute_command
raise e
subprocess.CalledProcessError: Command '['youtube-dl', '--ignore-config', '-o', u'Downloaded/Introduction_to_Computer_Science/01-CS50x2017/01-%(title)s-%(id)s.%(ext)s', '-f', 'mp4', u'https://youtu.be/M-XlYymh714']' returned non-zero exit status 1