![]() |
|
[VB.NET] Proxy Grabber - Printable Version +- Sinisterly (https://sinister.li) +-- Forum: Coding (https://sinister.li/Forum-Coding) +--- Forum: Visual Basic & .NET Framework (https://sinister.li/Forum-Visual-Basic-NET-Framework) +--- Thread: [VB.NET] Proxy Grabber (/Thread-VB-NET-Proxy-Grabber) |
[VB.NET] Proxy Grabber - Distance - 10-26-2015 ![]() code: Code: Imports System.Text.RegularExpressions
Public Class Form1
Private Sub btnGrabProxies_Click(sender As Object, e As EventArgs) Handles btnGrabProxies.Click
lstProxies.Items.Clear()
Dim link = (New Net.WebClient).DownloadString("https://www.us-proxy.org/")
Dim getProxies = "<tr><td>([^>]*)</td><td>([^>]*)</td><td>([^>]*)</td><td>([^>]*)</td><td>([^>]*)</td><td>([^>]*)</td><td>([^>]*)</td><td>([^>]*)</td></tr>"
For Each item As Match In (New Regex(getProxies).Matches(link))
lstProxies.Items.Add(item.Groups(1).ToString).SubItems.AddRange({item.Groups(2).ToString, item.Groups(4).ToString, item.Groups(5).ToString, item.Groups(6).ToString, item.Groups(7).ToString, item.Groups(8).ToString})
Next
End Sub
End Classenjoy RE: [VB.NET] Proxy Grabber - Killpot - 10-27-2015 You should add the project, so lazy people like me don't have to re-create the design. Also, look into multi-threading this, it'll lock up the main thread for a while otherwise. And if you're really feeling adventurous, I suggest adding another column for ping, and if you want to go further, Pool-Thread the pinging of the IP's. RE: [VB.NET] Proxy Grabber - OutOfSight - 10-27-2015 Yeah you should of just posted the program lol RE: [VB.NET] Proxy Grabber - Buildoman - 10-27-2015 (10-27-2015, 03:47 AM)UOutOfSight Wrote: Yeah you should of just posted the program lol Yep I agree RE: [VB.NET] Proxy Grabber - hqangel - 01-20-2016 thanks for posting this RE: [VB.NET] Proxy Grabber - Skryptec - 01-23-2016 You should actually post the whole project. RE: [VB.NET] Proxy Grabber - ezioland - 01-23-2016 thank you mate !
|