try parsing the url as json and using attribute