def get_download_url(self):
    urlRegex = lnp.config.get_string('updates/downloadURLRegex')
    result = ''
    if urlRegex:
        result = re.search(urlRegex, self.text).group(1)
    if result:
        return result
    else:
        return super(RegexUpdater, self).get_download_url()
def get_download_url(self):
    urlRegex = lnp.config.get_string('updates/downloadURLRegex')
    result = 
    if urlRegex:
        result = re.search(urlRegex, self.text).group(1)
    if result:
        return result
    else:
        return super(RegexUpdater, self).get_download_url()