- Joined
- Threads
- 24
- Posts
- 56
Hello,
Does anybody have regex to extract proxy from this site? -
I try
But result is only:
I want extract proxies in IP:PORT format if possible.
Does anybody have regex to extract proxy from this site? -
I try
Code:
Dim request As System.Net.HttpWebRequest = System.Net.HttpWebRequest.Create("https://free-proxy-list.net/")
Dim response As System.Net.HttpWebResponse = request.GetResponse
Dim reader As System.IO.StreamReader = New System.IO.StreamReader(response.GetResponseStream)
Dim readcode As String = reader.ReadToEnd
Dim checker As New System.Text.RegularExpressions.Regex("<td>(.*?)</td><td>(.*?)</td>")
Dim right As MatchCollection = checker.Matches(readcode)
For Each itemcode As Match In right
ListBox1.Items.Add(itemcode)
Next
Code:
<td>170.84.60.4</td><td>8080</td>
<td>BR</td><td-class='hm'>Brazil</td><td>anonymous</td>
<td>202.137.4.189</td><td>443</td>
<td>ID</td><td-class='hm'>Indonesia</td><td>anonymous</td>
<td>167.114.150.82</td><td>8080</td>
<td>CA</td><td-class='hm'>Canada</td><td>anonymous</td>
<td>23.239.9.177</td><td>8888</td>
<td>US</td><td-class='hm'>United-States</td><td>elite-proxy</td>
<td>178.206.212.121</td><td>8080</td>
I want extract proxies in IP:PORT format if possible.