Update lyrics fetchers
This commit is contained in:
@@ -1,3 +1,6 @@
|
|||||||
|
# ncmpcpp-0.10.2 (2025-??-??)
|
||||||
|
* Update lyrics fetchers.
|
||||||
|
|
||||||
# ncmpcpp-0.10.1 (2024-10-24)
|
# ncmpcpp-0.10.1 (2024-10-24)
|
||||||
* Fix compilation with `libc++`.
|
* Fix compilation with `libc++`.
|
||||||
* Remove `autogen.sh` in favour of `autoreconf`.
|
* Remove `autogen.sh` in favour of `autoreconf`.
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
AC_INIT([ncmpcpp],[0.10.1])
|
AC_INIT([ncmpcpp],[0.10.2_dev])
|
||||||
AC_CONFIG_SRCDIR([configure.ac])
|
AC_CONFIG_SRCDIR([configure.ac])
|
||||||
AC_CONFIG_HEADERS(config.h)
|
AC_CONFIG_HEADERS(config.h)
|
||||||
AM_INIT_AUTOMAKE([subdir-objects])
|
AM_INIT_AUTOMAKE([subdir-objects])
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ struct GeniusFetcher : public GoogleLyricsFetcher
|
|||||||
virtual const char *name() const override { return "genius.com"; }
|
virtual const char *name() const override { return "genius.com"; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual const char *regex() const override { return "<div.*?class=\"(?:lyrics|Lyrics__Container).*?>(.*?)</div>"; }
|
virtual const char *regex() const override { return "<div data-lyrics-container.*?>(.*?)</div>"; }
|
||||||
};
|
};
|
||||||
|
|
||||||
struct JahLyricsFetcher : public GoogleLyricsFetcher
|
struct JahLyricsFetcher : public GoogleLyricsFetcher
|
||||||
@@ -116,7 +116,7 @@ struct ZeneszovegFetcher : public GoogleLyricsFetcher
|
|||||||
virtual const char *name() const override { return "zeneszoveg.hu"; }
|
virtual const char *name() const override { return "zeneszoveg.hu"; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual const char *regex() const override { return "<div id=\"tartalom_slide_content\"> (.*?)<style>"; }
|
virtual const char *regex() const override { return "<div class=\"lyrics-plain-text trans_original\">(.*?)</div>"; }
|
||||||
};
|
};
|
||||||
|
|
||||||
struct InternetLyricsFetcher : public GoogleLyricsFetcher
|
struct InternetLyricsFetcher : public GoogleLyricsFetcher
|
||||||
|
|||||||
Reference in New Issue
Block a user