>>5
Simply remove the while
loop and dump page
as well. In your current version page
would have worked if you had it inside the while
but outside the if
-- which would render the while
pointless. The reason for your infinite loop is not what >>6 said but the fact that url
keeps its original value.