#NEWLINE# def __init__( self , artist , title ) : #NEWLINE# #INDENT# self . artist = self #NEWLINE# self . title = title #NEWLINE# self . lyrics = None #NEWLINE# self . source = None #NEWLINE# self . search_url = 'http://search.azlyrics.com/search.php?q=%s' #NEWLINE# self . lyric_url_re = re . compile ( 'http://www\\.azlyrics\\.com/lyrics/[a-z0-9]+/[a-z0-9]+\\.html' ) #NEWLINE# self . lyric_re = re . compile ( '<!-- start of lyrics -->(.*)<!-- end of lyrics -->' , ( re . M + re . S ) ) #NEWLINE# self . title_re = re . compile ( '<title>(?P<artist>.*?) LYRICS - (?P<title>.*?)</title>' )