what can i do to print the url on the browser http://localhost:5001/index.php?s=yd
geturl() method returns the real URL of the page.
Ref:-
http://docs.python.org/library/urllib.html#urllib.urlopen