diff --git a/ProxyProcess/ProxyProcess.pro.user b/ProxyProcess/ProxyProcess.pro.user index 7d1be2a..db3db6b 100644 --- a/ProxyProcess/ProxyProcess.pro.user +++ b/ProxyProcess/ProxyProcess.pro.user @@ -1,6 +1,6 @@ - + EnvironmentId @@ -414,7 +414,7 @@ ProxyProcess Qt4ProjectManager.Qt4RunConfiguration:C:/source/ProxyProcess/ProxyProcess.pro - "http://www.gatherproxy.com/proxylist/anonymity/?t=Elite" "c:\data\proxytest.txt" + "http://www.samair.ru/proxy/proxy-03.htm" "c:\data\proxytest.txt" ProxyProcess.pro false true diff --git a/ProxyProcess/scrawler.cpp b/ProxyProcess/scrawler.cpp index c716be1..a556897 100644 --- a/ProxyProcess/scrawler.cpp +++ b/ProxyProcess/scrawler.cpp @@ -590,7 +590,11 @@ QString SCrawler::getIpListFromSamuir(const QWebElement _FindElement) if(tds.at(1).toPlainText().contains("anony")) { QString temp = tds.at(0).toPlainText().replace("\"","").trimmed(); - totalResult += (temp.replace(":",",") + "\n"); + QString strIp = temp.replace(":","").trimmed(); + QWebElement span = tds.at(0).findFirst("span"); + QVariant qv = span.evaluateJavaScript("window.getComputedStyle(this, ':after').getPropertyValue('content')"); + + totalResult += (strIp + "," + qv.toString().replace("'","") + "\n"); } }