edx-dl
edx-dl copied to clipboard
404 although I can open the URL in my browser
Subject of the issue
When using one of the URLs I get back by using --ignore-errors edx-dl throws a 404.
Your environment
- Operating System (name/version): macOS 10.15.2
- Python version: 3.7.6
- youtube-dl version: 2020.01.24
- edx-dl version: 0.1.11
Steps to reproduce
Just pass https://courses.edx.org/courses/course-v1:IsraelX+infosec102+3T2019/course/ as the URL argument.
Expected behaviour
The course should be downloaded.
Actual behaviour
edx-dl -u [email protected] -p "my-secret-password" https://courses.edx.org/courses/course-v1:IsraelX+infosec102+3T2019/course/
edx_dl version 0.1.11
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 "/usr/local/bin/edx-dl", line 8, in
Looks like with --debug - we get displayed in notepad++ looks like
root[get_courses_info] Data extracted: [Unlocking Information Security: Part [][]: https://courses.edx.org/courses/course-v1:IsraelX+infosec102+3T2019/course/, Unlocking Information Security: Part [][]: https://courses.edx.org/courses/course-v1:IsraelX+infosec102+1T2020/course/, Unlocking Information Security: Part []: https://courses.edx.org/courses/course-v1:IsraelX+infosec101+3T2019a/course/ ]
whereas the details of the string which should be : root[get_courses_info] Data extracted: [Unlocking Information Security: Part ⅠⅠ: https://courses.edx.org/courses/course-v1:IsraelX+infosec102+3T2019/course/, Unlocking Information Security: Part ⅠⅠ: https://courses.edx.org/courses/course-v1:IsraelX+infosec102+1T2020/course/, Unlocking Information Security: Part Ⅰ: https://courses.edx.org/courses/course-v1:IsraelX+infosec101+3T2019a/course/ ]
Hope this helps
having the same issue with this course, don't Know if someone can help with a fix, i'll be grateful
Hi,
Maybe because of an url redirection?
If you go to the course table of content, what is the url? /course/XXXXXX or /course?
Kind regards
The course I was referring to has been closed in the mean time so I can't try it again.