basic link parsing for given url