validating when link by verifying if the url and title are present