check on the url existence rather than the entire source