#NEWLINE# def http_get( url , cookies = None , data = None , multipart_data = None , headers = None , allow_redirect = True , method = None , require_debrid = False , cache_limit = 8 ) : #NEWLINE# #INDENT# control . log ( ( '--=-=-==-=-=-=- CLIENT2 url: %s' % multipart_data ) ) #NEWLINE# html = cached_http_get ( url , shrink_host ( url ) , control . DEFAULT_TIMEOUT , cookies = cookies , data = data , multipart_data = multipart_data , headers = headers , allow_redirect = allow_redirect , method = method , require_debrid = require_debrid , cache_limit = cache_limit ) #NEWLINE# sucuri_cookie = get_sucuri_cookie ( html ) #NEWLINE# if sucuri_cookie : #NEWLINE# #INDENT# control . log ( ( 'Setting sucuri cookie: %s' % sucuri_cookie ) ) #NEWLINE# if ( cookies is not None ) : #NEWLINE# #INDENT# cookies = cookies . update ( sucuri_cookie ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# cookies = sucuri_cookie #NEWLINE# #UNINDENT# html = cached_http_get ( url , shrink_host ( url ) , control . DEFAULT_TIMEOUT , cookies = cookies , data = data , multipart_data = multipart_data , headers = headers , allow_redirect = allow_redirect , method = method , require_debrid = require_debrid , cache_limit = 0 ) #NEWLINE# #UNINDENT# return html