more flexible url selector