Problem with: urllib2.build_opener(urllib2.HTTPCookieProcessor(cj))

2005-09-05 Thread Josef Cihal
Hi, I get an error, when I am trying to download URL with using Cookies. Where is the Problem? Thank u very much for all ideas!!! sincerely Josef import os, cookielib, urllib2 cj = cookielib.MozillaCookieJar() os.environ["http_proxy"] = "http://proxy.irm.at:1234"; os.environ['HOME']= r"C:\tmp

Fw: urllib.urlopen doesn't work

2005-09-02 Thread Josef Cihal
  - Original Message - From: Josef Cihal To: python-list@python.org Sent: Saturday, September 03, 2005 12:09 AM Subject: urllib.urlopen doesn't work Hallo,   i need a help with module URLLIB.   I am trying to open url via: -    urllib.urlopen ('http://brokerjet.ece

urllib.urlopen doesn't work

2005-09-02 Thread Josef Cihal
Hallo,   i need a help with module URLLIB.   I am trying to open url via: -    urllib.urlopen ('http://brokerjet.ecetra.com/at/markets/stocks/indices.phtml?notation=92866')     Problem is, that I am always redirecting to - LOGIN page (www.brokerjet.at), and cannot get my page with "news", whi