get url from content
update/fix tests