#NEWLINE# def cook_soup( text ) : #NEWLINE# #INDENT# soup = BeautifulSoup ( captcha_input ) #NEWLINE# captcha_input = soup . find_all ( 'input' , { #NEWLINE# #INDENT# 'name' : 'captcha' , #NEWLINE# #UNINDENT# } ) #NEWLINE# if captcha_input : #NEWLINE# #INDENT# raise OhShitCAPTCHA #NEWLINE# #UNINDENT# return soup