python3 edx-dl.py -x fun --prefer-cdn-videos -u user@email.com --list-courses
edx_dl version 0.1.11
Password:
Building initial headers for future requests.
Getting initial CSRF token.
Traceback (most recent call last):
File "edx-dl.py", line 6, in <module>
edx_dl.main()
File "/home/user/edx-dl/edx_dl/edx_dl.py", line 1000, in main
headers = edx_get_headers()
File "/home/user/edx-dl/edx_dl/edx_dl.py", line 425, in edx_get_headers
'X-CSRFToken': _get_initial_token(EDX_HOMEPAGE),
File "/home/user/edx-dl/edx_dl/edx_dl.py", line 167, in _get_initial_token
opener.open(url)
File "/usr/lib/python3.6/urllib/request.py", line 532, in open
response = meth(req, response)
File "/usr/lib/python3.6/urllib/request.py", line 642, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python3.6/urllib/request.py", line 570, in error
return self._call_chain(*args)
File "/usr/lib/python3.6/urllib/request.py", line 504, in _call_chain
result = func(*args)
File "/usr/lib/python3.6/urllib/request.py", line 650, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: NOT FOUND
using v0.1.11 404 error on fun-mooc.fr
python3 edx-dl.py -x fun --prefer-cdn-videos -u user@email.com --list-courses
no problem on edx.org