Restructured example to be able to get http urls as well