]> git.sur5r.net Git - minitube/commitdiff
Missing backslash
authorFlavio <flavio@odisseo.local>
Wed, 5 Feb 2014 22:06:15 +0000 (23:06 +0100)
committerFlavio <flavio@odisseo.local>
Wed, 5 Feb 2014 22:06:15 +0000 (23:06 +0100)
src/video.cpp

index 357bca5393a3b25251ad06cad5414815f27ad836..7a37c08b4236e15e994b6b4c2802128cccd51011 100644 (file)
@@ -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);