get URL and do something