Fix fetching lyrics from justsomelyrics.com

master
Andrzej Rybczak 9 years ago
parent 8b014bd970
commit 5deb6600d4
  1. 1
      NEWS
  2. 2
      src/lyrics_fetcher.h

@ -22,6 +22,7 @@ ncmpcpp-0.8 (????-??-??)
* Action 'jump_to_playing_song' is not runnable now if there is no playing song.
* Fixed fetching artist info in language other than English.
* Added test that checks if lyrics fetchers work (available via command line parameter --test-lyrics-fetchers).
* Fixed fetching lyrics from justsomelyrics.com.
ncmpcpp-0.7.7 (2016-10-31)
* Fixed compilation on 32bit platforms.

@ -112,7 +112,7 @@ struct JustSomeLyricsFetcher : public GoogleLyricsFetcher
virtual const char *name() const override { return "justsomelyrics.com"; }
protected:
virtual const char *regex() const override { return "<div class=\"content.*?</div>\\s*</div>(.*?)<div"; }
virtual const char *regex() const override { return "<div class=\"content.*?</div>(.*?)See also"; }
};
struct AzLyricsFetcher : public GoogleLyricsFetcher

Loading…
Cancel
Save