diff --git a/ProxyProcess/ProxyProcess.pro.user b/ProxyProcess/ProxyProcess.pro.user index 999d578..7d1be2a 100644 --- a/ProxyProcess/ProxyProcess.pro.user +++ b/ProxyProcess/ProxyProcess.pro.user @@ -1,6 +1,6 @@ - + EnvironmentId @@ -8,7 +8,7 @@ ProjectExplorer.Project.ActiveTarget - 0 + 1 ProjectExplorer.Project.EditorSettings @@ -61,7 +61,7 @@ Desktop Qt 5.4.0 MSVC2013 32bit Desktop Qt 5.4.0 MSVC2013 32bit {41ee5de3-e0c6-4932-89be-818ac7411cf5} - 0 + 1 0 0 @@ -242,9 +242,196 @@ 1 + + ProjectExplorer.Project.Target.1 + + Desktop Qt 5.4.0 MinGW 32bit + Desktop Qt 5.4.0 MinGW 32bit + qt.54.win32_mingw491_kit + 1 + 0 + 0 + + C:/source/build-ProxyProcess-Desktop_Qt_5_4_0_MinGW_32bit-Debug + + + true + qmake + + QtProjectManager.QMakeBuildStep + false + true + + false + false + + + true + Make + + Qt4ProjectManager.MakeStep + + false + + + + 2 + Build + + ProjectExplorer.BuildSteps.Build + + + + true + Make + + Qt4ProjectManager.MakeStep + + true + clean + + + 1 + Clean + + ProjectExplorer.BuildSteps.Clean + + 2 + false + + Debug + + Qt4ProjectManager.Qt4BuildConfiguration + 2 + true + + + C:/source/build-ProxyProcess-Desktop_Qt_5_4_0_MinGW_32bit-Release + + + true + qmake + + QtProjectManager.QMakeBuildStep + false + true + + false + false + + + true + Make + + Qt4ProjectManager.MakeStep + + false + + + + 2 + Build + + ProjectExplorer.BuildSteps.Build + + + + true + Make + + Qt4ProjectManager.MakeStep + + true + clean + + + 1 + Clean + + ProjectExplorer.BuildSteps.Clean + + 2 + false + + Release + + Qt4ProjectManager.Qt4BuildConfiguration + 0 + true + + 2 + + + 0 + Deploy + + ProjectExplorer.BuildSteps.Deploy + + 1 + Deploy locally + + ProjectExplorer.DefaultDeployConfiguration + + 1 + + + + false + false + false + false + true + 0.01 + 10 + true + 1 + 25 + + 1 + true + false + true + valgrind + + 0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + 14 + + 2 + + ProxyProcess + + Qt4ProjectManager.Qt4RunConfiguration:C:/source/ProxyProcess/ProxyProcess.pro + "http://www.gatherproxy.com/proxylist/anonymity/?t=Elite" "c:\data\proxytest.txt" + ProxyProcess.pro + false + true + + 3768 + false + true + false + false + true + + 1 + + ProjectExplorer.Project.TargetCount - 1 + 2 ProjectExplorer.Project.Updater.FileVersion diff --git a/ProxyProcess/scrawler.cpp b/ProxyProcess/scrawler.cpp index 4056ce3..c716be1 100644 --- a/ProxyProcess/scrawler.cpp +++ b/ProxyProcess/scrawler.cpp @@ -735,12 +735,14 @@ QString SCrawler::getIpListFromCoolProxy(const QWebElement _FindElement) void SCrawler::getIpListFromGatherProxy() { static bool b_first = true; + //cout << "getIpListFromGatherProxy"; QString totalResult; if (b_first) { b_first = false; QWebElement button = Find(m_page->mainFrame()->documentElement(), "input", "class", "button"); button.evaluateJavaScript("var evObj = new Event('click', {bubbles: true, cancelable: true, view: window}); this.dispatchEvent(evObj);"); + //cout << "show full list clicked"; return; } @@ -772,7 +774,8 @@ void SCrawler::getIpListFromGatherProxy() if (webPageNavi.isNull()) { m_bDone = true; - QTimer::singleShot(1000, this, SLOT(saveResultManual())); + QTimer::singleShot(1000, this, SLOT(saveResultManual()));\ + //cout << "no webpageNavi"; return; } QWebElement span = webPageNavi.findFirst("span"); @@ -780,6 +783,7 @@ void SCrawler::getIpListFromGatherProxy() if (webA.isNull()) { m_bDone = true; + //cout << "next page is none"; QTimer::singleShot(1000, this, SLOT(saveResultManual())); return; }