Added missing right brace in a condition for "parseURLs" method.