471,325 Members | 1,414 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,325 software developers and data experts.

urllib2 web auth issues!!

import urllib2

# Create an OpenerDirector with support for Basic HTTP
auth_handler = urllib2.HTTPBasicAuthHandler()
auth_handler.add_password('realm', 'https://www.somesite.com/
loginform.ws?mod=ticketing', 'myid', 'passwd')
opener = urllib2.build_opener(auth_handler)
# install it globally so it can be used with urlopen.

After i login, that page it brings me to looks like this:


where 3729336821930248510 is always different. i need a way to let me
know tha login was successful

Oct 24 '07 #1
0 832

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by O. Koch | last post: by
4 posts views Thread by bmiras | last post: by
5 posts views Thread by Pascal | last post: by
2 posts views Thread by Dan Stromberg | last post: by
3 posts views Thread by John Reese | last post: by
1 post views Thread by rtilley | last post: by
6 posts views Thread by Alejandro Dubrovsky | last post: by
2 posts views Thread by mrstephengross | last post: by
1 post views Thread by Larry Hale | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.