Closed zjllee closed 9 years ago
I have this same issue.
I have this same issue. Already merged code with pull-request #166
@milkfan can you confirm the problem persists with the current master?
@dgorissen I was on the branch mechanize. Confirm it's not working with the latest coursera-dl. Am I supposed to switch to the master?
@dgorissen The master branch has not been updated for a while now, right? It's not working on either master or mechanize. However, as someone pointed out in issue #164, I can install coursera-dl==2.0.2 instead and it works fine for me.
Sorry I meant mechanize branch.
I have the same issue. Are you suggesting to replace courseradownloader.py from the mechanize branch? I did that, but that isn't working either. (I don't want to steal the threat, just add that this is an issue that concerns more people)
I don't think @danmbox verified the fix.
Working on Ubuntu 12.04 and I have the same issue. Not sure but did I merge everything as I should? This is how my folder looks now:
Dec 22 23:18 CHANGELOG.txt Oct 30 20:54 CONTRIBUTING.md Oct 30 21:08 coursera Oct 30 20:54 coursera-dl Oct 30 20:54 coursera-dl.bat Dec 22 23:18 courseradownloader Dec 22 23:18 LICENSE.txt Dec 22 23:18 MANIFEST.in Dec 22 23:18 README.md Dec 22 23:18 requirements.txt Dec 22 23:18 setup.py
As I understand @danmbox has to do the verification and then simple " git fetch https://github.com/dgorissen/coursera-dl" will do the trick?
The current mechanize branch in this repository seems to WFM:
cd /tmp $ git clone git://github.com/dgorissen/coursera-dl.git $ cd coursera-dl $ git branch mechanize $ python courseradownloader/courseradownloader.py -u $USER -p $PASS healthliteracy-001
Does this work?
worked for me. I had to download new version directly from the github web site. Is there a way to do it with pip?
If the maintainer decides to bump the version and release to pypy...
I tried your version and had partial success. Did some download and then it hang so I did CTRL+C .. I'm posting entire output in case someone wants to reproduce and debug.
~/Documents/Workspace/Coursera.com/Data-Scientist-Specialization/Regression-Models$ python /tmp/coursera-dl/courseradownloader/courseradownloader.py -u USERNAME -p PASSWORD regmods-016 Coursera-dl v3.1 (html.parser) Logging in as 'USERNAME'...
Course 1 of 1
Yeah, that used to happen every once in a while (on both branches I believe). Ctrl-C and re-download, possibly using the week filter to avoid checking perfectly fine videos.
Verified and @danmbox 's PR #164 works for me. Bumped coursera version on pypi.
C:\Apps\Python27\Scripts>coursera-dl -u @gmail.com -p **** -d D:\Course -w 7 procmin-001 Traceback (most recent call last): File "C:\Apps\Python27\Scripts\coursera-dl-script.py", line 9, in
load_entry_point('coursera-dl==3.1', 'console_scripts', 'coursera-dl')()
File "C:\Apps\Python27\lib\site-packages\courseradownloader\courseradownloader
.py", line 649, in main
d.login(args.course_names[0])
File "C:\Apps\Python27\lib\site-packages\courseradownloader\courseradownloader
.py", line 168, in login
raise Exception("Failed to authenticate as %s" % self.username)
Exception: Failed to authenticate as @gmail.com
It was working just last week. I wonder what is wrong with it. Thank you for your help!