TypeError: __init__() takes exactly 1 positional argument (2 given) · Issue #12 · tsgates/pylookup · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in fact, pylook doesn't work with python3 yet -- just solve syntax problem in current version. we have to find a way to make it compatible way of parsing instead of using old htmlparser. I will update when I have some free time.
I've just downloaded pylookup and I want to update the database but I have this error, even with local files:
python3 pylookup.py -u http://docs.python.org/
Wait for a few seconds ..
Fetching htmls from 'http://docs.python.org/'
Traceback (most recent call last):
File "pylookup.py", line 241, in
update(opts.db, opts.url, opts.append)
File "pylookup.py", line 165, in update
parser = IndexProcessor(writer, dirname(url))
File "pylookup.py", line 88, in init
htmllib.HTMLParser.init( self, formatter.NullFormatter() )
TypeError: init() takes exactly 1 positional argument (2 given)
Thanks,
The text was updated successfully, but these errors were encountered: