public List<RatedProxy> ParsePage(string data) { if (data == null) return null; MatchCollection variablesMatchs = _ipPortRx.Matches(data); JavaScriptXorEmul antijavaParser = new JavaScriptXorEmul(); antijavaParser.AddVariables(_varRx.Matches(data), "varName", "varValue"); antijavaParser.AddXorVariables(_xorVarRx.Matches(data), "varName"); return antijavaParser.ParseProxyMatches(_ipPortRx.Matches(data), "ip", "port"); }
public List<RatedProxy> ParsePage(string data) { if (data == null) return null; string varScriptStr = _varScriptRx.Match(data).Groups["variables"].Value; JavaScriptXorEmul antijavaParser = new JavaScriptXorEmul(); antijavaParser.AddVariables(_varRx.Matches(varScriptStr), "varName", "varValue"); antijavaParser.AddXorVariables(_xorVarRx.Matches(varScriptStr), "varName"); return antijavaParser.ParseProxyMatches(_ipPortRx.Matches(data), "ip", "port"); }
public List <RatedProxy> ParsePage(string data) { if (data == null) { return(null); } MatchCollection variablesMatchs = _ipPortRx.Matches(data); JavaScriptXorEmul antijavaParser = new JavaScriptXorEmul(); antijavaParser.AddVariables(_varRx.Matches(data), "varName", "varValue"); antijavaParser.AddXorVariables(_xorVarRx.Matches(data), "varName"); return(antijavaParser.ParseProxyMatches(_ipPortRx.Matches(data), "ip", "port")); }
public List <RatedProxy> ParsePage(string data) { if (data == null) { return(null); } string varScriptStr = _varScriptRx.Match(data).Groups["variables"].Value; JavaScriptXorEmul antijavaParser = new JavaScriptXorEmul(); antijavaParser.AddVariables(_varRx.Matches(varScriptStr), "varName", "varValue"); antijavaParser.AddXorVariables(_xorVarRx.Matches(varScriptStr), "varName"); return(antijavaParser.ParseProxyMatches(_ipPortRx.Matches(data), "ip", "port")); }