Skip to content
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

Bad cookies file or wrong class name - Coursera platform redesign #37

Closed
rteslaru opened this issue Jan 4, 2013 · 9 comments
Closed

Comments

@rteslaru
Copy link
Contributor

rteslaru commented Jan 4, 2013

./coursera-dl -u -p wh1300-2012-001 -f "mp4 pdf"

Downloaded http://class.coursera.org/wh1300-2012-001/lecture/index (218312 bytes)

Found 0 sections and 0 lectures on this page
Probably bad cookies file (or wrong class name)

-- I keep getting this error on any course I try downloading. I opened the lecture/index URL in Safari and it displays just fine. As raszpl pointed out, the most likely cause is the platform redesign.

@raszpl
Copy link

raszpl commented Jan 5, 2013

its not osx related. Coursera did redesign today.
"We are rolling out a redesign of our platform today, including improvements to the navigation bar and forums. Please report any issues in the "Technical Issues" subforum. Happy 2013! ☺"

@rteslaru
Copy link
Contributor Author

rteslaru commented Jan 5, 2013

Thanks, raszpl, I updated the issue description to reflect your comments.

@rbrito
Copy link
Member

rbrito commented Jan 6, 2013

The fix is relatively simple. I just had a look at the current situation and the most "critical" part is still working (the authentication).

The only thing to change is that they have changed their skeleton of their pages to something not so much different, but with things that the current BeautifulSoup fails to match.

If nobody beats me to it, I can provide a patch to make the script work again.

@rteslaru
Copy link
Contributor Author

rteslaru commented Jan 6, 2013

Fixed it -- pull request issued. ;)

@rteslaru rteslaru closed this as completed Jan 6, 2013
@vkaracic
Copy link

I'm still getting this error.

@rbrito
Copy link
Member

rbrito commented Jan 31, 2013

@vkaracic

On Wed, Jan 30, 2013 at 10:31 AM, vkaracic notifications@github.com wrote:

I'm still getting this error.

Can you open another issue with the latest version of the script?
Please, do share what course you are trying to access, your command
line (it's fine to hide your username/password) and the precise
messages that you get.

Thanks,

Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFCAAAA
http://rb.doesntexist.org/blog : Projects : https://github.com/rbrito/
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br

@bearzx
Copy link

bearzx commented Sep 18, 2013

I was downloading comnetworks-002 relationship-001 insidetheinternet-003 these three courses yesterday, getting the same error. I just used a very simple script coursera-dl -u *** -p *** comnetworks-002 relationship-001 insidetheinternet-003.

The reason might be that these three courses are finished courses, so I'm not sure if the page structure has changed.

@rbrito
Copy link
Member

rbrito commented Sep 18, 2013

Hi there.

I don't know about the other courses, but I just took comnetworks-002
for real (meaning that followed it very closely) and I have no
problems with it (or I would try to fix it promptly).

Can you provide us with the information described in
https://github.com/jplehmann/coursera#troubleshooting ?

Thanks,

Rogério.

Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFCAAAA
http://cynic.cc/blog/ : github.com/rbrito : profiles.google.com/rbrito
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br

@bearzx
Copy link

bearzx commented Sep 21, 2013

Problem solved, I was using an old version of the coursera-downloader. Things work well after I updated the code.
Sorry for disturbing you. Thanks for the response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants