-
Notifications
You must be signed in to change notification settings - Fork 639
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
edx-dl not working #662
Comments
Hi, thank you for coursera-dl & edx-dl! 🎉 I can verify errors when trying to download a course.
See system details and error
|
same problem |
Same problem. |
i tried what is written on this page #649 the comments of the user @RJFeddeler helped. edx-dl is downloading only videos for now. but sometimes giving error "no downloadable video found." when i get this error i run script code over and over again. it worked after a few tries. |
change line 425 of edx_dl.py to |
edx-dl not downloading my courses
Your environment
Steps to reproduce
edx-dl is not downloading any course. I have tried all the urls.
help me fix edx-problems
Actual behaviour
Building initial headers for future requests.
Getting initial CSRF token.
Found CSRF token.
Logging into Open edX site: https://courses.edx.org/login_ajax
Extracting course information from dashboard.
Traceback (most recent call last):
File "/home/anonymous/anaconda3/bin/edx-dl", line 8, in
sys.exit(main())
File "/home/anonymous/anaconda3/lib/python3.8/site-packages/edx_dl/edx_dl.py", line 1020, in main
all_selections = {selected_course:
File "/home/anonymous/anaconda3/lib/python3.8/site-packages/edx_dl/edx_dl.py", line 1021, in
get_available_sections(selected_course.url.replace('info', 'course'),
File "/home/anonymous/anaconda3/lib/python3.8/site-packages/edx_dl/edx_dl.py", line 184, in get_available_sections
page = get_page_contents(url, headers)
File "/home/anonymous/anaconda3/lib/python3.8/site-packages/edx_dl/utils.py", line 58, in get_page_contents
result = urlopen(Request(url, None, headers))
File "/home/anonymous/anaconda3/lib/python3.8/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/home/anonymous/anaconda3/lib/python3.8/urllib/request.py", line 531, in open
response = meth(req, response)
File "/home/anonymous/anaconda3/lib/python3.8/urllib/request.py", line 640, in http_response
response = self.parent.error(
File "/home/anonymous/anaconda3/lib/python3.8/urllib/request.py", line 569, in error
return self._call_chain(*args)
File "/home/anonymous/anaconda3/lib/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/home/anonymous/anaconda3/lib/python3.8/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
The text was updated successfully, but these errors were encountered: