def anon_url(*url):
 url = u''.join(map(str, url))
 uri_pattern = u'^https?://'
 unicode_uri_pattern = re.compile(uri_pattern, re.UNICODE)
 if (not re.search(unicode_uri_pattern, url)):
  url = (u'http://' + url)
 return u'{}{}'.format(sickrage.srCore.srConfig.ANON_REDIRECT, url)

def anon_url ( * url ) : url = u'' . join ( map ( str , url ) ) uri_pattern = u'^https?://' unicode_uri_pattern = re . compile ( uri_pattern , re . UNICODE ) if ( not re . search ( unicode_uri_pattern , url ) ) : url = ( u'http://' + url ) return u'{}{}' . format ( sickrage . srCore . srConfig . ANON_REDIRECT , url )
return a url string consisting of the anonymous redirect url and an arbitrary number of values appended .