Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to download from fun-mooc.fr #621

Open
w5wa opened this issue Jul 1, 2020 · 1 comment
Open

Failed to download from fun-mooc.fr #621

w5wa opened this issue Jul 1, 2020 · 1 comment

Comments

@w5wa
Copy link

w5wa commented Jul 1, 2020

🚨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

  • Operating System (name/version): Windows 10
  • Python version: 3.8
  • youtube-dl version:last
  • edx-dl version: last

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.

@floviolleau
Copy link

Hi,

I made a rework for fun.

Please checkout my PR still not approved by the team:
#603

Kind regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants