Package Details: coursera-dl-git 0.11.5.r11.g10ba6b8-1

Git Clone URL: https://aur.archlinux.org/coursera-dl-git.git (read-only, click to copy)
Package Base: coursera-dl-git
Description: Script for downloading Coursera.org videos and naming them
Upstream URL: https://github.com/coursera-dl/coursera-dl/
Licenses: LGPL3
Conflicts: coursera-dl
Provides: coursera-dl
Submitter: ilpianista
Maintainer: hexchain
Last Packager: hexchain
Votes: 32
Popularity: 0.000000
First Submitted: 2012-09-10 15:59 (UTC)
Last Updated: 2021-10-04 12:51 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

untitaker commented on 2013-08-15 13:11 (UTC)

Also it seems to me that the prepare() func doesn't really do anything useful?

untitaker commented on 2013-08-15 13:09 (UTC)

Please use the coursera-dl script from the repo instead of your `python2 ...` thing and only patch the shebang. Doing it like this breaks Python's import system.

gauthma commented on 2013-07-19 06:57 (UTC)

This is not working: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/coursera/coursera_dl.py", line 53, in <module> from six import iteritems ImportError: No module named six Further, it is installed in the python2.7 dir, but the shebang reads: #! /usr/bin/env python, which AFAIK implies the use of python3...

enikulenkov commented on 2013-07-06 14:41 (UTC)

Sorry, there was an error in my script. Fixed version at the same address http://pastebin.com/X66a1kTx. Also changed default application data dir to ~/.coursera-dl (otherwise root privileges are needed to store cookies)

tdy commented on 2013-07-06 13:36 (UTC)

Thanks

enikulenkov commented on 2013-07-06 10:57 (UTC)

The package is broken again, because new files are added to repository, that are imported from main coursera/coursera_dl.py file. It's similar problem that was with "credentials.py" file before. I think that modifying coursera/coursera_dl.py file during package build for newly added files maybe is not a good idea. In git repository main coursera-dl executable is just a symlink to coursera/coursera_dl.py. Maybe it's better to make symlink in /usr/bin directory, too. In this case the only problem is that coursera-dl uses python2, but python3 is default in Arch. So, coursera/coursera_dl.py file can be modified to use python2 forcibly. Another way is to create small script instead of symlink that executes coursera/coursera_dl.py with python2 interpreter. I implemented this approach here http://pastebin.com/X66a1kTx

tdy commented on 2013-06-26 00:56 (UTC)

Thanks

jleclanche commented on 2013-06-26 00:43 (UTC)

Updated PKGBUILD that works a lot better: http://dpaste.com/1270964/plain/

jleclanche commented on 2013-06-26 00:12 (UTC)

Actually package is broken because of a git update. There is a separate "credentials.py" file which tries to be imported but, from /usr/bin, cannot

jleclanche commented on 2013-06-26 00:09 (UTC)

Depends on python2-requests.