edx_dl version 0.1.13
Building initial headers for future requests.
Getting initial CSRF token.
Traceback (most recent call last):
File "c:\users\we\appdata\local\programs\python\python38-32\lib\runpy.py", line 193, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\users\we\appdata\local\programs\python\python38-32\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "C:\Users\WE\AppData\Local\Programs\Python\Python38-32\Scripts\edx-dl.exe__main__.py", line 9, in
File "c:\users\we\appdata\local\programs\python\python38-32\lib\site-packages\edx_dl\edx_dl.py", line 1005, in main
headers = edx_get_headers()
File "c:\users\we\appdata\local\programs\python\python38-32\lib\site-packages\edx_dl\edx_dl.py", line 430, in edx_get_headers
'X-CSRFToken': _get_initial_token(EDX_HOMEPAGE),
File "c:\users\we\appdata\local\programs\python\python38-32\lib\site-packages\edx_dl\edx_dl.py", line 167, in _get_initial_token
opener.open(url)
File "c:\users\we\appdata\local\programs\python\python38-32\lib\urllib\request.py", line 531, in open
response = meth(req, response)
File "c:\users\we\appdata\local\programs\python\python38-32\lib\urllib\request.py", line 640, in http_response
response = self.parent.error(
File "c:\users\we\appdata\local\programs\python\python38-32\lib\urllib\request.py", line 569, in error
return self._call_chain(args)
File "c:\users\we\appdata\local\programs\python\python38-32\lib\urllib\request.py", line 502, in _call_chain
result = func(args)
File "c:\users\we\appdata\local\programs\python\python38-32\lib\urllib\request.py", line 649, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: NOT FOUND
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.
🚨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
the option -x fun not working with the courses from fun-mooc.fr
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://www.fun-mooc.fr/courses/course-v1:pasteur+96002+session03/info
Expected behaviour
Tell us what should happen.
This the output
edx_dl version 0.1.13 Building initial headers for future requests. Getting initial CSRF token. Traceback (most recent call last): File "c:\users\we\appdata\local\programs\python\python38-32\lib\runpy.py", line 193, in _run_module_as_main return _run_code(code, main_globals, None, File "c:\users\we\appdata\local\programs\python\python38-32\lib\runpy.py", line 86, in _run_code exec(code, run_globals) File "C:\Users\WE\AppData\Local\Programs\Python\Python38-32\Scripts\edx-dl.exe__main__.py", line 9, in
File "c:\users\we\appdata\local\programs\python\python38-32\lib\site-packages\edx_dl\edx_dl.py", line 1005, in main
headers = edx_get_headers()
File "c:\users\we\appdata\local\programs\python\python38-32\lib\site-packages\edx_dl\edx_dl.py", line 430, in edx_get_headers
'X-CSRFToken': _get_initial_token(EDX_HOMEPAGE),
File "c:\users\we\appdata\local\programs\python\python38-32\lib\site-packages\edx_dl\edx_dl.py", line 167, in _get_initial_token
opener.open(url)
File "c:\users\we\appdata\local\programs\python\python38-32\lib\urllib\request.py", line 531, in open
response = meth(req, response)
File "c:\users\we\appdata\local\programs\python\python38-32\lib\urllib\request.py", line 640, in http_response
response = self.parent.error(
File "c:\users\we\appdata\local\programs\python\python38-32\lib\urllib\request.py", line 569, in error
return self._call_chain(args)
File "c:\users\we\appdata\local\programs\python\python38-32\lib\urllib\request.py", line 502, in _call_chain
result = func(args)
File "c:\users\we\appdata\local\programs\python\python38-32\lib\urllib\request.py", line 649, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: NOT FOUND
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.