Fix intermittent failures of the Genius fetcher

This commit is contained in:
Andrzej Rybczak
2020-12-21 01:00:22 +01:00
parent ba2a4533ab
commit 37af7d8052
3 changed files with 6 additions and 2 deletions

View File

@@ -118,7 +118,7 @@ struct GeniusFetcher : public GoogleLyricsFetcher
virtual const char *name() const override { return "genius.com"; }
protected:
virtual const char *regex() const override { return "<div class=\"Lyrics__Container.*?\">(.*?)</div>"; }
virtual const char *regex() const override { return "<div class=\"[Ll]yrics.*?>(.*?)</div>"; }
};
struct JahLyricsFetcher : public GoogleLyricsFetcher