def get_lyrics(self):
     source = self.get_address_source()
     source = source[source.index('ringmatch')+18:]
     return HtmlHelper.breaks_to_nl(source[10:source.index('ringmatch')-37]).strip()
 def get_lyrics(self):
     source = self.get_address_source()
     source = source[source.index('id=\'songlyric')+20:]
     return HtmlHelper.breaks_to_nl(source[10:source.index('song_id = "";')-44].replace('\n', '').replace('\r', '')).strip()
Exemple #3
0
 def get_lyrics(self):
     source = self.get_address_source()
     source = source[source.index('<!-- start of lyrics -->')+16:]
     return HtmlHelper.breaks_to_nl(source[10:source.index('<!-- end of lyrics -->')]).strip().replace('\n\n', '\n')
Exemple #4
0
 def get_lyrics(self):
     return re.sub('<.+>', '', HtmlHelper.breaks_to_nl(re.findall('class=\"nocopy\">(.+)<br><br>', self.get_address_source())[0]))