get url from prefs