Package Details: coursera-dl-git 0.9.0.r0.g154ef8d-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: 31
Popularity: 0.000000
First Submitted: 2012-09-10 15:59
Last Updated: 2017-08-09 08:24

Latest Comments

« First ‹ Previous 1 2 3

gauthma commented on 2013-07-19 06:57

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

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

Thanks

enikulenkov commented on 2013-07-06 10:57

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

Thanks

jleclanche commented on 2013-06-26 00:43

Updated PKGBUILD that works a lot better:

http://dpaste.com/1270964/plain/

jleclanche commented on 2013-06-26 00:12

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

Depends on python2-requests.

jck commented on 2013-04-02 17:16

python2-argparse is not needed for python 2.7.