Move GetUrlAsDocument method to BaseParser class to avoid duplication