Inputting data into a website question

Emile van Sebille emile at fenx.com
Wed Apr 22 00:42:33 CEST 2009


grocery_stocker wrote:
> Let's say that I have a file with the following words
> shirt
> jeans
> belt
> jacket
> 
> Now I want to be able to enter these words into the search function at
> the following website..
> 
> http://oldnavy.gap.com/?redirect=true

I'd do what they're doing -- when you search those terms the resulting 
url is 
http://oldnavy.gap.com/browse/product.do?pid=634156002&userSearchText=shirt+jeans+belt+jacket&searchCID=26519

Chances are some subset of that will work as well.

YMMV,

Emile





> 
> Is there some method in the urllib method that would allow me to do
> this? I tried googling this, but all I found was stuff related to CGI.
> --
> http://mail.python.org/mailman/listinfo/python-list
> 




More information about the Python-list mailing list