sophie, If you have the URL in a variable, it's easy to parse it into it's components (one of which is the query string) like so:
>>> from urllib2.urlparse import urlparse >>> urlparse( \ "http://[EMAIL PROTECTED]:8080/mytext.php;hellothere?this=test+value&and=that+one#anchor") ('http', '[EMAIL PROTECTED]:8080', '/mytext.php', 'hellothere', 'this=test+value&and=that+one', 'anchor') >>> print _[4] this=test+value&and=that+one >>> print _.split('&') ['this=test+value','and=that+one'] Then just use unquote_plus() from urllib to get the original query arguments. Hope that fills in some of the missing links. :-) LL -- http://mail.python.org/mailman/listinfo/python-list