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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edx-dl issue #671

Open
redlunchboxmanufacture opened this issue Mar 22, 2021 · 1 comment
Open

Edx-dl issue #671

redlunchboxmanufacture opened this issue Mar 22, 2021 · 1 comment

Comments

@redlunchboxmanufacture
Copy link

馃毃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

Extracting course information from dashboard.
Traceback (most recent call last):
File "c:\users\aidan\anaconda3\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\users\aidan\anaconda3\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Users\aidan\anaconda3\Scripts\edx-dl.exe_main
.py", line 7, in
File "c:\users\aidan\anaconda3\lib\site-packages\edx_dl\edx_dl.py", line 1020, in main
all_selections = {selected_course:
File "c:\users\aidan\anaconda3\lib\site-packages\edx_dl\edx_dl.py", line 1021, in
get_available_sections(selected_course.url.replace('info', 'course'),
File "c:\users\aidan\anaconda3\lib\site-packages\edx_dl\edx_dl.py", line 184, in get_available_sections
page = get_page_contents(url, headers)
File "c:\users\aidan\anaconda3\lib\site-packages\edx_dl\utils.py", line 58, in get_page_contents
result = urlopen(Request(url, None, headers))
File "c:\users\aidan\anaconda3\lib\urllib\request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "c:\users\aidan\anaconda3\lib\urllib\request.py", line 531, in open
response = meth(req, response)
File "c:\users\aidan\anaconda3\lib\urllib\request.py", line 640, in http_response
response = self.parent.error(
File "c:\users\aidan\anaconda3\lib\urllib\request.py", line 569, in error
return self._call_chain(*args)
File "c:\users\aidan\anaconda3\lib\urllib\request.py", line 502, in _call_chain
result = func(*args)
File "c:\users\aidan\anaconda3\lib\urllib\request.py", line 649, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: Forbidden

Your environment

  • Operating System (name/version):windows 10 pro n 21h build 19043.899
  • Python version:latest
  • youtube-dl version:latest
  • edx-dl version:latest ran the updater for all

Steps to reproduce

downloading from edx on several courses I am enrolled in error as above

Expected behaviour

Tell us what should happen.

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

floviolleau commented Jun 25, 2021

Hi,

You have a 403 error. There are other issues for the same thing.

For eg: #662

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