def get_lyrics(track):
    try:
        scrapers = app.config['SCRAPERS']['lyrics']
    except IndexError:
        return None

    for scraper_cls in scrapers:
        Scraper = _import('shiva.lyrics.%s' % scraper_cls)
        if issubclass(Scraper, LyricScraper):
            scraper = Scraper(track.artist.name.encode('utf-8'),
                              track.title.encode('utf-8'))
            if scraper.fetch():
                lyrics = LyricsCache(source=scraper.source, track=track)
                g.db.session.add(lyrics)
                g.db.session.commit()

                return lyrics

    return None
dataset/ETHPy150Open tooxie/shiva-server/shiva/lyrics/base.py/get_lyrics/original