coursera-dl / coursera-dl

Script for downloading Coursera.org videos and naming them.
GNU Lesser General Public License v3.0
9.38k stars 2.21k forks source link

No Lectures Found for Current Class Error #8

Closed abhinavkulkarni closed 12 years ago

abhinavkulkarni commented 12 years ago

Hi I get following error when I run following command:

./coursera-dl pgm -c cookies.txt

Output:

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

The pgm i.e. Probabilistic Graphical Models class is currently going on and one can even preview some of the lectures here: https://class.coursera.org/pgm/lecture/preview

I have a valid coursera account (however I could not enroll in the class as I got late. Hence this business of downloading the videos). I am not sure about the cookie error and why I get it.

I used the firefox extension to create the cookies.txt file.

Please respond.

Thanks.

jplehmann commented 12 years ago

The script requires that one's account be enabled for that class. It was not designed to work with this "preview mode", although that might be a feature to be added. It would likely require some tweaking of the URL and the HTML DOM traversal.

jplehmann commented 12 years ago

I have now updated the directions with this requirement.

abhinavkulkarni commented 12 years ago

Thanks jplehmann for the prompt action.