#NEWLINE# def fetch( ) : #NEWLINE# #INDENT# retval = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# content = retrieve_content ( __url__ ) #NEWLINE# if ( __check__ in content ) : #NEWLINE# #INDENT# for line in content . split ( '\n' ) : #NEWLINE# #INDENT# line = line . strip ( ) #NEWLINE# if ( ( not line ) or line . startswith ( '#' ) ) : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# if ( '://' in line ) : #NEWLINE# #INDENT# line = re . search ( '://(.*)' , line ) . group ( 1 ) #NEWLINE# #UNINDENT# line = line . rstrip ( '/' ) #NEWLINE# if ( '/' in line ) : #NEWLINE# #INDENT# retval [ line ] = ( __info__ , __reference__ ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if re . search ( '\\A\\d+\\.\\d+\\.\\d+\\.\\d+\\Z' , line ) : #NEWLINE# #INDENT# retval [ line ] = ( 'potential malware site' , __reference__ ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# retval [ line ] = ( __info__ , __reference__ ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# return retval