|
|
@ -174,7 +174,7 @@ void HttpConnection::respondCommand(QString command) |
|
|
|
{ |
|
|
|
{ |
|
|
|
QString urls = parser.post("urls"); |
|
|
|
QString urls = parser.post("urls"); |
|
|
|
QStringList list = urls.split('\n'); |
|
|
|
QStringList list = urls.split('\n'); |
|
|
|
foreach(QString url, list){ |
|
|
|
foreach(QString url, list){ |
|
|
|
url = url.trimmed(); |
|
|
|
url = url.trimmed(); |
|
|
|
if(!url.isEmpty()){ |
|
|
|
if(!url.isEmpty()){ |
|
|
|
qDebug("Downloading url: %s", (const char*)url.toUtf8()); |
|
|
|
qDebug("Downloading url: %s", (const char*)url.toUtf8()); |
|
|
|