![]() |
|
[VB.NET] PirateBay Scraper - 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] PirateBay Scraper (/Thread-VB-NET-PirateBay-Scraper) |
[VB.NET] PirateBay Scraper - Distance - 10-31-2015 Code: Imports System.Text.RegularExpressions
Public Class Form1
Dim html = "return false;"">([^>]*)</a>"
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Dim Link = (New Net.WebClient).DownloadString("https://piratebay.to/search/?FilterStr=SEARCH_TERM")
For Each item As Match In (New Regex(html).Matches(Link))
ListBox1.Items.Add(item.Groups(1))
Next
End Sub
End Class![]() enjoy... RE: [VB.NET] PirateBay Scraper - Austin_mybb_import6214 - 10-31-2015 Thank you for this! RE: [VB.NET] PirateBay Scraper - Zyionz - 10-31-2015 what can this be used for RE: [VB.NET] PirateBay Scraper - Distance - 10-31-2015 (10-31-2015, 08:13 PM)Zyionz Wrote: what can this be used for easy pirate bay searches, so you don't have to scroll through stuff or if your too lazy also, if you know just a little regex you can add more options such as: Title, Link, Country, etc. etc. RE: [VB.NET] PirateBay Scraper - Zyionz - 10-31-2015 (10-31-2015, 11:08 PM)Distance Wrote:(10-31-2015, 08:13 PM)Zyionz Wrote: what can this be used for Alright, cool post |