git-svn-id: svn://192.168.0.12/source@272 8346c931-da38-4b9b-9d4c-e48b93cbd075

This commit is contained in:
admin
2016-05-30 06:15:02 +00:00
parent 78a05894f5
commit 5b80fb309f
2 changed files with 7 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 3.3.0, 2016-05-30T12:00:58. -->
<!-- Written by QtCreator 3.3.0, 2016-05-30T13:14:41. -->
<qtcreator>
<data>
<variable>EnvironmentId</variable>
@@ -414,7 +414,7 @@
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">ProxyProcess</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration:C:/source/ProxyProcess/ProxyProcess.pro</value>
<value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments">&quot;http://www.gatherproxy.com/proxylist/anonymity/?t=Elite&quot; &quot;c:\data\proxytest.txt&quot;</value>
<value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments">&quot;http://www.samair.ru/proxy/proxy-03.htm&quot; &quot;c:\data\proxytest.txt&quot;</value>
<value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">ProxyProcess.pro</value>
<value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value>
<value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseTerminal">true</value>

View File

@@ -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");
}
}