"Egor Bolonev" <eb******@bonbon.net> writes:
AssertionError: proxies must be a mapping
This is telling you proxies must be a mapping type, in this case, a
dictionary. So try replacing:
a=urlopen('url', proxies=('127.0.0.1:3128'))
With this:
a=urlopen('url', proxies={ 'http': '127.0.0.1:3128' })
HTH,
Nick
--
# sigmask || 0.2 || 20030107 || public domain || feed this to a python
print reduce(lambda x,y:x+chr(ord(y)-1),' Ojdl!Wbshjti!=obwAcboefstobudi/psh?')