From: Flavio Date: Wed, 5 Feb 2014 22:06:15 +0000 (+0100) Subject: Missing backslash X-Git-Tag: 1.2.6~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e7170e41658c9a34ccf411e809be4d8e99654b37;p=minitube Missing backslash --- diff --git a/src/video.cpp b/src/video.cpp index 357bca5..7a37c08 100644 --- a/src/video.cpp +++ b/src/video.cpp @@ -29,7 +29,7 @@ NetworkAccess* http(); } namespace { - static const QString jsNameChars = "a-zA-Z0-9\$_"; + static const QString jsNameChars = "a-zA-Z0-9\\$_"; } Video::Video() : m_duration(0), @@ -337,7 +337,7 @@ void Video::scrapeWebPage(QByteArray data) { QString jsPlayerUrl = jsPlayerRe.cap(1); jsPlayerUrl.remove('\\'); jsPlayerUrl = "http:" + jsPlayerUrl; - qWarning() << "jsPlayerUrl" << jsPlayerUrl; + // qDebug() << "jsPlayerUrl" << jsPlayerUrl; /* QRegExp jsPlayerIdRe("-(.+)\\.js"); jsPlayerIdRe.indexIn(jsPlayerUrl);