-
Notifications
You must be signed in to change notification settings - Fork 638
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
Can't download any courses: 'NoneType' object has no attribute 'group' #92
Comments
Ok, so I did a few tests. I tried to select specific weeks (no change) and, it looks like I am getting this error on all my courses. I downloaded the latest version of edX and tried again I am getting the same error (but on a different line):
I found an upstream bug here ytdl-org/youtube-dl#2444 (comment) However, I reinstall |
I meet the same problem and I doubt it's youtube-dl(updating to the development youtube-dl doesn't solve it). It occurs very recently. My course is Louv1.01x Paradigms of Computer Programming. I could successfully download just a few days ago. Maybe edx has changed something? |
Whoops! Accidentally closed the issue. @hrzhu I just noticed that that upstream bug is not quite the same error. I think you're right about edX changing. |
Traceback (most recent call last): i get the same error too , is there any fix yet ? |
Hello, I think I have the same issue : Processing 'https://courses.edx.org/courses/UTAustinX/UT.9.01x/1T2014/courseware/ ect /'... |
Yeah. I am aware of this issue, but I am sorry that I can't fix it soon, since I am overwhelmed recently. Can anyone help to fix it? |
It seems this regexp is broken now With this workaround |
With @slitvinov modification, subs extraction won't work hence the entire downloading process will be interrupted. |
On Mar 2, 2014 11:52 PM, "Xiaohong-Deng" notifications@github.com
What error message you have? |
@slitvinov |
@slitvinov Thank you for the hack! Most of my courses are downloading now :) |
After some research I found that this bug actually must become 2 bugs, the first one is the obvious one that they changed the API that exposes the edx subtitles, they support now also multiple languages. I have a commit that doesn't change a lot and fixes the subtitles part but it hardcodes the language for the moment to english (well most of the videos don't have translations for the moment, so i don't think this will be an issue for the moment). The second bug is the fact that if I don't want to download subtitles the whole error doesn't make any sense, but fixing this one requires some extra refactoring. |
@Xiaohong-Deng Thanks. It seems you are trying to download subtitles. My hack cannot handle it. I am sorry for not stating it clearly. I think a fix from @iemejia should be more helpful. |
Fix #92 Updated subtitle URL string after edx changes.
Same problem is here! Processing 'https://courses.edx.org/courses/BerkeleyX/CS_CS169.1x/1T2014/courseware/aec573b66478440986fa3d07074b3b91/a4de3cf2fef548169ff06484abd80e3b/'... |
I am pretty sure this is not a duplicate of issue #53 but apologize if it is.
I have started to experience the
AttributeError: 'NoneType' object has no attribute 'group'
error on a edX course which, up to now, has not given me errors (BIO465x Neuronal Dynamics). I have the first 46 videos (into week 7).When I run the script now this is what I get:
Just for reference, issue #53 has this error instead:
File "./edx-dl.py", line 373, in main subs_filename = (match.group(1) or match.group(2)).decode('utf-8')[:-4] AttributeError: 'NoneType' object has no attribute 'group'
The text was updated successfully, but these errors were encountered: