[Pkg-mpd-commits] [qmpdclient] 24/38: Updated lyricwiki scraping code

Andrey Rahmatullin wrar at moszumanska.debian.org
Mon May 23 07:19:46 UTC 2016


This is an automated email from the git hooks/post-receive script.

wrar pushed a commit to branch master
in repository qmpdclient.

commit 2fa1d5f3db16f21c29ef5e67c737bcfe16dc91d2
Author: Voker57 <voker57 at gmail.com>
Date:   Tue Apr 21 00:02:50 2015 +0300

    Updated lyricwiki scraping code
---
 src/lyricsdialog.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lyricsdialog.cpp b/src/lyricsdialog.cpp
index 680dc1d..806cb7b 100644
--- a/src/lyricsdialog.cpp
+++ b/src/lyricsdialog.cpp
@@ -54,7 +54,7 @@ void LyricsDialog::updateLyrics() {
 
 void LyricsDialog::updateLyricsText() {
 	QString html = QString(((QNetworkReply *)sender())->readAll());
-	QRegExp wittyRegexp("<div class='lyricbox'><div class='rtMatcher'>.*</div>(.*)<!--");
+	QRegExp wittyRegexp("<div class='lyricbox'><script.*</script>(.*)<!--");
 	wittyRegexp.setMinimal(true);
 	if(wittyRegexp.indexIn(html) > -1)
 	{

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mpd/qmpdclient.git



More information about the Pkg-mpd-commits mailing list