Fix fetching lyrics from justsomelyrics.com

This commit is contained in:
Andrzej Rybczak
2017-01-28 18:28:37 +01:00
parent 8b014bd970
commit 5deb6600d4
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

@@ -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.

View File

@@ -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