How to run this script ?
Hi I'm trying to run this script in cli, but gets errors, per below TIA's for any clues to get it moving ?? Hopefully only a minor PBKAC
Traceback (most recent call last): File "./grabber.py", line 55, in <module> main() File "./grabber.py", line 30, in main node = load_root_node() File "/home/davidj/webdl/delx-webdl-7bc05ad896ea/common.py", line 60, in load_root_node import plus7 File "/home/davidj/webdl/delx-webdl-7bc05ad896ea/plus7.py", line 5, in <module> from lxml.cssselect import CSSSelector File "/usr/lib/python2.7/site-packages/lxml/cssselect.py", line 18, in <module> raise ImportError('cssselect seems not to be installed. ' ImportError: cssselect seems not to be installed. See http://packages.python.org/cssselect/
Comments (2)
-
-
repo owner - changed status to resolved
- Log in to comment
I had a similar problem (and in my case it was definitely a PEBKEC issue!) because I hadn't downloaded all the files and dependencies.
I'm an Ubuntu user so I had to start with apt-get to make sure I had the dependancies listed at http://delx.net.au/blog/2012/09/webdl/
Then I went into my Downloads folder and ran the command:
hg clone http://delx.net.au/hg/webdl
to get the latest version of all the files required. After that ./grabber.py worked perfectly.