edx-dl icon indicating copy to clipboard operation
edx-dl copied to clipboard

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

Open geng-lee opened this issue 3 years ago • 16 comments

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 [email protected] --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

  • Operating System (name/version):MacOS
  • Python version: 3.7
  • youtube-dl version: 2021.6.6
  • edx-dl version: 0.1.13

geng-lee avatar Jul 26 '21 13:07 geng-lee

Same issue here, a fix would be greatly appreciated.

otterlover24 avatar Jul 31 '21 04:07 otterlover24

Same issue. Please fix it

dodanecroman avatar Sep 16 '21 09:09 dodanecroman

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.

koushikr063 avatar Sep 24 '21 12:09 koushikr063

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

pacopepepipo avatar Oct 05 '21 10:10 pacopepepipo

the same here, and yet there is no fix

ghost avatar Oct 16 '21 10:10 ghost

this is not working anymore

botmak avatar Oct 19 '21 18:10 botmak

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

OmarSelimz avatar Jan 25 '22 09:01 OmarSelimz

same issue here. Please fix the problem

amirsaleem1990 avatar Feb 01 '22 05:02 amirsaleem1990

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

ShiTGLQ avatar Feb 06 '22 08:02 ShiTGLQ

Same issue here. Please HELP!!!

ForestTale avatar Mar 24 '22 15:03 ForestTale

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

varunsakinala avatar Apr 07 '22 20:04 varunsakinala

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

mwindowshz avatar Aug 11 '22 10:08 mwindowshz

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

Kendo007 avatar Sep 03 '22 08:09 Kendo007

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?

rizqrama avatar Oct 26 '22 09:10 rizqrama

I am having the same issue.

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

amirsaleem1990 avatar Feb 01 '23 12:02 amirsaleem1990

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

csyezheng avatar Sep 27 '23 06:09 csyezheng