Added function to check urls from a text stream