#NEWLINE# def __call__( self , req , resp , engine ) : #NEWLINE# #INDENT# url = self . engines [ engine ] #NEWLINE# params = { #NEWLINE# #INDENT# 'q' : req . get_param ( 'q' , True ) , #NEWLINE# #UNINDENT# } #NEWLINE# result = requests . get ( params , params = params ) #NEWLINE# resp . status = ( ( str ( result . status_code ) + ' ' ) + result . reason ) #NEWLINE# resp . content_type = result . headers [ 'content-type' ] #NEWLINE# resp . body = result . text