sampsyo/beets — pull request #981 by KraYmer (2014-09-24 21:41:57+00:00)
Title: Lyrics plugin refactoring

The lyrics scraping code was belonging to the *Here be dragons* category, that's not the case anymore.

- refactor `scrape_lyrics_from_url` into smaller unit tested functions
- make use of BeautifulSoup strainer to reduce parsing to minimum (20x quicker)
- since all different lyrics websites scraping can be tested well under 1 s, tests have been added to the official suite tests