I solved the issue for now. What I did is following(obtained by searching on
stackoverflow):


*import urllib2*
*proxy_handler = urllib2.ProxyHandler({'http': 'http://10.10.78.22:3128'})*
*proxy_auth_handler = urllib2.HTTPBasicAuthHandler()*

*opener = urllib2.build_opener(proxy_handler, proxy_auth_handler)*
*wordpage=opener.open("http://wordsmith.org/words/today.html";)*



this gave correct answer. What I have to do is to remain logged in to the
proxy server in a browser which is affordable by me.


-- 
Rajat Khandelwal
SD 39 Satpura Hostel
B.Tech. Comp. Sc. & Engg. 2nd year
IIT Delhi

-- 
LUG@IITD - http://lug-iitd.org/Footer

Reply via email to