RS Grand Exchange info Grabber [Source]

Discussion in 'Programming General' started by Cody8295, Nov 6, 2011.

RS Grand Exchange info Grabber [Source]
  1. Unread #1 - Nov 6, 2011 at 12:09 AM
  2. Cody8295
    Joined:
    Nov 5, 2011
    Posts:
    9
    Referrals:
    0
    Sythe Gold:
    0

    Cody8295 Newcomer

    RS Grand Exchange info Grabber [Source]

    [​IMG]

    Code:
      Dim Name, GuidePrice, Change, ChangeParsed, Gold As String
      Dim wc As New Net.WebClient
      Dim Source As String = wc.DownloadString("http://services.runescape.com/m=itemdb_rs/results.ws?query=rune&price=all&members=")
      For i As Integer = 6 To 65 Step 3
        Name = Split(Source, "alt=""")(i).Split("""")(0)
        ListView1.Items.Add(Name)
        GuidePrice = Split(Source, Name)(2).Split("</td")(3)
        ListView1.Items.Item(ListView1.Items.Count - 1).SubItems.Add(GuidePrice.Substring(GuidePrice.IndexOf(">") + 1))
        Change = Split(Source, Name)(2).Split("class=""")(1)
        ChangeParsed = Split(Change, ">")(1).Split("<")(0)
        ListView1.Items.Item(ListView1.Items.Count - 1).SubItems.Add(ChangeParsed)
        Gold = Split(Source, Name)(2).Split(""">")(5)
        ListView1.Items.Item(ListView1.Items.Count - 1).SubItems.Add(Gold)
      Next
    

    Enjoy.
     
  3. Unread #2 - Nov 6, 2011 at 4:43 AM
  4. Covey
    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    RS Grand Exchange info Grabber [Source]

    nice first post
     
  5. Unread #3 - Nov 6, 2011 at 11:26 AM
  6. Cody8295
    Joined:
    Nov 5, 2011
    Posts:
    9
    Referrals:
    0
    Sythe Gold:
    0

    Cody8295 Newcomer

    RS Grand Exchange info Grabber [Source]

    Thanks bro, I really do love VB.NET.
     
  7. Unread #4 - Nov 8, 2011 at 3:19 AM
  8. Saphir Dice
    Joined:
    Nov 3, 2011
    Posts:
    238
    Referrals:
    0
    Sythe Gold:
    0

    Saphir Dice Active Member
    Banned

    RS Grand Exchange info Grabber [Source]

    So nice BRO!
     
  9. Unread #5 - Nov 8, 2011 at 6:21 PM
  10. Cody8295
    Joined:
    Nov 5, 2011
    Posts:
    9
    Referrals:
    0
    Sythe Gold:
    0

    Cody8295 Newcomer

    RS Grand Exchange info Grabber [Source]

    Thanks for the comment.
     
  11. Unread #6 - Nov 13, 2011 at 8:11 AM
  12. rally
    Joined:
    Nov 13, 2011
    Posts:
    25
    Referrals:
    0
    Sythe Gold:
    0

    rally Member
    Banned

    RS Grand Exchange info Grabber [Source]

    very nice, i might use this for something im working on
     
  13. Unread #7 - Nov 14, 2011 at 12:27 AM
  14. Blupig
    Joined:
    Nov 23, 2006
    Posts:
    7,145
    Referrals:
    16
    Sythe Gold:
    1,609
    Discord Unique ID:
    178533992981594112
    Valentine's Singing Competition Winner Member of the Month Winner MushyMuncher Gohan has AIDS Extreme Homosex World War 3 I'm LAAAAAAAME
    Off Topic Participant

    Blupig BEEF TOILET
    $5 USD Donor

    RS Grand Exchange info Grabber [Source]

    Lol I like how you didn't use Mid() or InStr() once :p
     
  15. Unread #8 - Nov 14, 2011 at 4:55 PM
  16. SiiLeNtaLK
    Joined:
    Nov 14, 2011
    Posts:
    72
    Referrals:
    0
    Sythe Gold:
    0

    SiiLeNtaLK Member
    Banned

    RS Grand Exchange info Grabber [Source]

    Looks sweet ;O
     
  17. Unread #9 - Nov 23, 2011 at 4:02 PM
  18. Cody8295
    Joined:
    Nov 5, 2011
    Posts:
    9
    Referrals:
    0
    Sythe Gold:
    0

    Cody8295 Newcomer

    RS Grand Exchange info Grabber [Source]

    Haha, I love the Split() method..
     
  19. Unread #10 - Dec 4, 2011 at 11:57 AM
  20. hellohippo
    Joined:
    Dec 4, 2011
    Posts:
    2
    Referrals:
    0
    Sythe Gold:
    0

    hellohippo Newcomer

    RS Grand Exchange info Grabber [Source]

    I'm new to VB.

    I made a listview with these Columns, but where do I put the code? Cus i've put it in form load and it works with no errors but the listview doesn't display anything.

    Please help :S
     
  21. Unread #11 - Dec 14, 2011 at 4:48 PM
  22. Cody8295
    Joined:
    Nov 5, 2011
    Posts:
    9
    Referrals:
    0
    Sythe Gold:
    0

    Cody8295 Newcomer

    RS Grand Exchange info Grabber [Source]

    Are you sure the ListView's display property is on "details".
     
  23. Unread #12 - Dec 19, 2011 at 1:21 AM
  24. hellohippo
    Joined:
    Dec 4, 2011
    Posts:
    2
    Referrals:
    0
    Sythe Gold:
    0

    hellohippo Newcomer

    RS Grand Exchange info Grabber [Source]

    yep :S
     
  25. Unread #13 - Jan 23, 2012 at 12:00 PM
  26. itsjustme
    Joined:
    Jan 15, 2012
    Posts:
    42
    Referrals:
    0
    Sythe Gold:
    0

    itsjustme Member

    RS Grand Exchange info Grabber [Source]

    just the source. No tutorial :(
    I think you just copy/paste.
     
< Help With JAVA Work Sheet (Recursion) | Diet Calculator >

Users viewing this thread
1 guest


 
 
Adblock breaks this site