#NEWLINE# @ property #NEWLINE# def base_url( self ) : #NEWLINE# #INDENT# if ( not hasattr ( self , '_base_url' ) ) : #NEWLINE# #INDENT# base = self . parsed . find ( './/base' ) #NEWLINE# if ( ( base is not None ) and base . get ( 'href' ) ) : #NEWLINE# #INDENT# self . _base_url = base . get ( 'href' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . _base_url = self . url #NEWLINE# #UNINDENT# #UNINDENT# return base . _base_url