Closed marcoberri closed 10 years ago
Can you confirm this happens with the latest version from github and with a different parser (try lxml and html.parser)
yes, when try with other parser?
berri@nbberri:/home/marco/coursera$ coursera-dl bluebrain-001 Coursera-dl v1.4.8 (lxml) Credentials found in .netrc file Logging in as 'marcoberri@gmail.com'...
Course 1 of 1
a quick test with the version in github shows that it works for me, albeit with a few warnings. I need to doublecheck where they come from but otherwise it seemed to work.
doublechecked, all works as expected with the current master branch, closing.
Very cool tool. Congrats dgorissen. In some courses I also see this problem. I installed the application using this command on ubuntu 12.04: sudo pip install coursera-dl Does that ensure that I have the latest code with me? Alternately, how can I build the app from code? I dont know much python, some direction on this will help me a ton.
Thanks in advance.
To ensure you have the latest version install with "sudo pip install --upgrade coursera-dl". Current version is 1.5. If you have problems with that version please paste the full log.
Web / Blog : http://dirkgorissen.com Twitter : https://twitter.com/elazungu
On Wed, Sep 25, 2013 at 10:01 AM, anadi notifications@github.com wrote:
Very cool tool. Congrats dgorissen. In some courses I also see this problem. I installed the application using this command on ubuntu 12.04: sudo pip install coursera-dl Does that ensure that I have the latest code with me? Alternately, how can I build the app from code? I dont know much python, some direction on this will help me a ton.
Thanks in advance.
— Reply to this email directly or view it on GitHubhttps://github.com/dgorissen/coursera-dl/issues/51#issuecomment-25071399 .
Hi Dirk, I did the upgrade.
I downloaded many courses. coursera-dl worked for a majority of courses that I signed up for. Other two it didn't work are these: gametheory-2012-002 images-2012-001 neuralnets-2012-001
Few that worked: mathphil-001 programming2-001 algo-004
Common among all the courses that did not download is that they end in 2012-001. Maybe that will make your investigation easier.
The problem persists, the log follows: coursera-dl -d courses/ neuralnets-2012-001 Coursera-dl v1.5 (html.parser) Credentials found in .netrc file Logging in as 'xxxx@xxx.com'...
Course 1 of 1
The problem is with courseradownloader.py line 338: base_name = cname[:cname.rindex('-')] It translates base name to: neuralnets-2012 while it should be neuralnets
For the courses I mentioned, just changing rindex to index worked for me. Now, this hack will work only for the courses that do not have a - in the name. I guess neuralnets-2012-001 is the past version of the course.
will have a look at this
Hi Anadi,
Thanks. Glad its helpful. You can donate something if you wish, it will help me support the tool. I have added a donate button here http://dirkgorissen.com/2012/09/07/coursera-dl-a-coursera-download-script/
Cheers Dirk
Web / Blog : http://dirkgorissen.com Twitter : https://twitter.com/elazungu
On Sun, Sep 29, 2013 at 10:23 AM, anadi notifications@github.com wrote:
Hi Dirk, Your code was of immense help to a person like I, with bad network. I would like to donate some money as gratitude...
- Would you accept it?
- If so, how can I pay... I am in India.
Any which ways, I owe you one.
Thanks, Anadi
On Wed, Sep 25, 2013 at 9:38 PM, Dirk Gorissen notifications@github.comwrote:
To ensure you have the latest version install with "sudo pip install --upgrade coursera-dl". Current version is 1.5. If you have problems with that version please paste the full log.
Web / Blog : http://dirkgorissen.com Twitter : https://twitter.com/elazungu
On Wed, Sep 25, 2013 at 10:01 AM, anadi notifications@github.com wrote:
Very cool tool. Congrats dgorissen. In some courses I also see this problem. I installed the application using this command on ubuntu 12.04: sudo pip install coursera-dl Does that ensure that I have the latest code with me? Alternately, how can I build the app from code? I dont know much python, some direction on this will help me a ton.
Thanks in advance.
— Reply to this email directly or view it on GitHub< https://github.com/dgorissen/coursera-dl/issues/51#issuecomment-25071399>
.
— Reply to this email directly or view it on GitHub< https://github.com/dgorissen/coursera-dl/issues/51#issuecomment-25101027> .
— Reply to this email directly or view it on GitHubhttps://github.com/dgorissen/coursera-dl/issues/51#issuecomment-25317147 .
just tried with neuralnets, the current master version works fine for me.
When i try download:
berri@nbberri:~/coursera$ sudo coursera-dl -d /home/berri/coursera/ bluebrain-001 Coursera-dl v1.4.8 (lxml) Credentials found in .netrc file Logging in as 'marcoberri@gmail.com'...
Course 1 of 1