manual http request

2006-05-22 Thread Steve Young
Hi, I was wondering if there's a way to mimic a web pages' form and just manually send the http request and get the html response without having to go through a browser. For example, lets say i wanted to make a search on google of the key word "cars" but i want to be able to get the results of

preserving POST data

2006-02-17 Thread Steve Young
Lets say that I'm filling out a form and the information gets sent to another server first for some processing(before the one that it "should" go to). But from there, I want that intermediate server to be able to preserve this POST data using python so it can still retrieve the page that was or

html source

2006-02-13 Thread Steve Young
Hi, I was wondering why when I use urllib2.build_opener().open(url), it doesn't give me the same thing as if I would just click on view--> source on my web browser. It gives me most of html on the page but leaves out lots of scripts and some of the link's urls are truncated. Is there something

form action

2006-01-10 Thread Steve Young
 Hi, could somebody help me out. Lets say that I want to enter a value on say google's search form but i want the html that is retrieved once i submit the form to first pass through another server before I (who made the request) see the resulting page. For example: The server's set up so th

build_opener

2006-01-09 Thread Steve Young
Hello, I had a question about urllib2's build_opener() statement. I am trying to just get the html from any webpage as a string but I need everything on the page to be the same as what it'd be if I would browse to that page (and at the very least, all the href's). This is my code: url =

filling out forms online with python

2006-01-09 Thread Steve Young
Hi, I was wondering if there's a way to fill out forms online using python. Say for example if you wanted to make a search on some search engine without having to actually open a browser or something like that. Thanks. -Steve   Yahoo! DSL Something to write home about. Just $16.99/mo. or

Filling out forms with python

2005-12-29 Thread Steve Young
Hi, I was wondering if there's a way to fill out forms online using python. Say for example if you wanted to make a search on some search engine without having to actually open a browser or something like that. Thanks.   -Steve Yahoo! DSL Something to write home about. Just $16.99/mo. or less-

build_opener()

2005-12-09 Thread Steve Young
Hello, I had a question about urllib2's build_opener() statement. I am trying to just get the html from any webpage as a string but I need everything on the page to be the same as what it'd be if I would browse to that page (and at the very least, all the href's). This is my code: url =

getting host and path from url

2005-12-09 Thread Steve Young
Hi, this is probably an easy question but is there a way to get the host and path seperatly out of an url? Example:url = "">and i want some way of getting:host = http://news.yahoo.com and path = /fc/world/iraqthanks.-Steve   Yahoo! Shopping Find Great Deals on Holi

build_opener()

2005-11-28 Thread Steve Young
Hello, I had a question about urllib2's build_opener() statement. I am trying to just get the html from any webpage as a string but I need everything on the page to be the same as what it'd be if I would browse to that page (and at the very least, all the href's). This is my code: url = ''

python and ajax

2005-08-29 Thread Steve Young
Hi, I was wondering if anybody knew of any good tutorial/example of AJAX/xmlhttprequest in python. Thanks. -Steve Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs -- http://mail.python.org/mai

BeautifulSoup

2005-08-19 Thread Steve Young
I tried using BeautifulSoup to make changes to the url links on html pages, but when the page was displayed, it was garbled up and didn't look right (even when I didn't actually change anything on the page yet). I ran these steps in python to see what was up: >>from BeautifulSoup import BeautifulS

python html

2005-08-18 Thread Steve Young
Hi, I am looking for something where I can go through a html page and make change the url's for all the links, images, href's, etc... easily. If anyone knows of something, please let me know. Thanks. -steve Start your day with