coursera-dl / edx-dl

A simple tool to download video lectures from edx.org (and other openedx sites)
GNU Lesser General Public License v3.0
1.93k stars 639 forks source link

Edx-dl is not working: "You can access 0 courses" #679

Open geng-lee opened 3 years ago

geng-lee commented 3 years ago

Edx-dl is not working. Actually, I have already registered for two courses, but edx-dl cannot retrieve the course information. I guess this may be due to a change in the website. Hope you can solve this BUG, thank you very much!

Subject of the issue

edx-dl -u xxx@163.com --list-courses -p xxx edx_dl version 0.1.13 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. You can access 0 courses

Your environment

otterlover24 commented 3 years ago

Same issue here, a fix would be greatly appreciated.

dodanecroman commented 3 years ago

Same issue. Please fix it

koushikr063 commented 3 years ago

Same issue. Please fix it, access to my courses are expiring soon. I even tried this: https://github.com/coursera-dl/edx-dl/issues/559#issuecomment-549392156 but to no avail.

pacopepepipo commented 2 years ago

yep, broken here also, but it seems the project is not maintained anymore

ghost commented 2 years ago

the same here, and yet there is no fix

botmak commented 2 years ago

this is not working anymore

OmarSelimz commented 2 years ago

same issue this code not working any more .. if you solved it would be much apperciated.

amirsaleem1990 commented 2 years ago

same issue here. Please fix the problem

ShiTGLQ commented 2 years ago

same issue here. I tried to list all courses enrolled,so I modified the code: courses = get_courses_info(DASHBOARD, headers) for course in courses: print(course.state) available_courses = courses I got the result courses' states are "not yet", and the url format is https://courses.edx.orghttps://learning.edx.org/course/****/home. Then I tried to use this URL in cmd, but the function result = urlopen(Request(url, None, headers)) raise the error urllib.error.URLError: urlopen error [Errno 11001] getaddrinfo failed

ForestTale commented 2 years ago

Same issue here. Please HELP!!!

varunsakinala commented 2 years ago

hello everyone, i am also struggling with the same issue ,but i figured out how to get the parser.py to access your edx course structure after going through multiple threads and solutions.try this parser file by saving it to a .py file and placing it in site packages folder of your python install and run list courses command in cmd window.it should show you your audit courses as well .once i figure out how to get it to downloading all the videos i will post the solution. parsing.txt

mwindowshz commented 2 years ago

hello everyone, i am also struggling with the same issue ,but i figured out how to get the parser.py to access your edx course structure after going through multiple threads and solutions.try this parser file by saving it to a .py file and placing it in site packages folder of your python install and run list courses command in cmd window.it should show you your audit courses as well .once i figure out how to get it to downloading all the videos i will post the solution. parsing.txt

Can you please explain how to run this? in some more details, why should we add a txt file (with python code) into site packages folder. and how will this help? are you replacing an exisiting file? Thanks

Kendo007 commented 2 years ago

hello everyone, i am also struggling with the same issue ,but i figured out how to get the parser.py to access your edx course structure after going through multiple threads and solutions.try this parser file by saving it to a .py file and placing it in site packages folder of your python install and run list courses command in cmd window.it should show you your audit courses as well .once i figure out how to get it to downloading all the videos i will post the solution. parsing.txt

Worked🥳🥳🥳 But now it says no downloadable video found

rizqrama commented 1 year ago

hello everyone, i am also struggling with the same issue ,but i figured out how to get the parser.py to access your edx course structure after going through multiple threads and solutions.try this parser file by saving it to a .py file and placing it in site packages folder of your python install and run list courses command in cmd window.it should show you your audit courses as well .once i figure out how to get it to downloading all the videos i will post the solution. parsing.txt

any update on this?

amirsaleem1990 commented 1 year ago

I am having the same issue.

OS: Ubuntu 20.04.5 LTS (Focal Fossa) Python: 3.8.10 youtube-dl: 2021.12.17

csyezheng commented 1 year ago

I forked the repository and fixed it to a working version: https://github.com/csyezheng/edx-dl