windows 7 - Spynner module on python 3 -
i used python's 2to3.py fixing on spynner module. there seemed issue qstring on python 3. modified browser.py in spynner qstring = str users suggested. start tried following code
import spynner browser = spynner.browser() browser.set_proxy("http://username:password@host:3128") browser.load("http://www.google.com/")
now python throwing following error
file "g:\python33\lib\site-packages\spynner\browser.py", line 1163, in runjs js_has_runned_successfully = res.isvalid() or res.isnull() attributeerror: 'str' object has no attribute 'isvalid'
res defined in browser.py as
res = self.webframe.evaluatejavascript(jscode)
does spynner work on python 3?
Comments
Post a Comment