urllib2 - not returning page expected after post

2011-03-23 Thread David Feyo
I'm trying to automate reverse-ip lookups on domaintools.com. Everything is fine, except that I don't exactly get the data I want after I submit a post to the site. I know the post is correct, the return data just doesn't appear on the post. Not sure what to do at this point. Here is the code: #!/

Script to complete web form fields

2009-10-10 Thread Feyo
How can I use Python to complete web form fields automatically? My work web-based email time-out is like 15 seconds. Every time I need to access my calendar, address book, or email, I have to type in my username and password. I'm just tired of it. I found the ClientForm module and have been workin

Re: Help with Regex for domain names

2009-07-30 Thread Feyo
On Jul 30, 11:56 am, MRAB wrote: > Feyo wrote: > > I'm trying to figure out how to write efficiently write a regex for > > domain names with a particular top level domain. Let's say, I want to > > grab all domain names with country codes .us, .au, and .de. >

Help with Regex for domain names

2009-07-30 Thread Feyo
I'm trying to figure out how to write efficiently write a regex for domain names with a particular top level domain. Let's say, I want to grab all domain names with country codes .us, .au, and .de. I could create three different regexs that would work: regex = re.compile(r'[\w\-\.]+\.us) regex = r