opener = urllib.request.build_opener(urllib.request.HTTPCookieProcessor(cj))
opener.addheaders = ....
нужно передать 11 заголовков. После передачи 6ти
[('User-agent','Opera/9.80'),('Accept-Language',' ru-RU,ru;q=0.9,en;q=0.8'),('Accept-Charset',' iso-8859-1, utf-8, utf-16, *;q=0.1'),('Accept-Encoding',' deflate, gzip, x-gzip, identity, *;q=0'),('Cookie2',' $Version=1'),('Connection',' Keep-Alive, TE'),]
питон пишет
File “C:\Python31\lib\urllib\request.py”, line 1029, in do_request_
for name, value in self.parent.addheaders:
ValueError: too many values to unpack
python 3.1