Results 1 to 3 of 3

Thread: [VB.net] Grab usernames from boards

Threaded View

  1. #1
    Josh's Avatar
    Joined
    Dec 2011
    Posts
    415
    Userbars
    2
    Thanks
    25
    Thanked
    378/143
    DL/UL
    82/6
    Mentioned
    120 times
    Time Online
    17d 9h 48m
    Avg. Time Online
    5m

    [VB.net] Grab usernames from boards

    Code:
        
        strhtml = Req("GET", "http://www.neopets.com/neoboards/index.phtml", "")
            boards = GetBetweenAll(strhtml, " align='left' style='border-top: 1px solid black;'><a href='boardlist.phtml?board=", "'><img")
            For x = 0 To boards.Count - 1
                For z = 1 To 241 Step 40
                    strhtml = Req("GET", "http://www.neopets.com/neoboards/boardlist.phtml?board=" & boards.Item(x) & "&next=" & z, "")
                    usernames = GetBetweenAll(strhtml, """ class=""blistSmall""><b>", "</b></a>")
    
                    For y = 0 To usernames.Count - 1
                        Setaddlist_ThreadSafe(ListBox1, usernames.Item(y))
                    Next
                Next
            Next

    Simple little script to grab usernames from boards (every page, of every board).

    I thought it was useful. Used it to request a ton of neofriends, because I have too much time.

  2. The Following 3 Users Say Thank You to Josh For This Useful Post:

    Ghosts (09-01-2014),j03 (09-01-2014),valseedian2 (10-08-2020)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •