| View previous topic :: View next topic |
| Author |
Message |
sumnewdude Expert Cheater
Reputation: 0
Joined: 23 May 2007 Posts: 181 Location: Where you least expect me.
|
Posted: Sat Jan 03, 2009 7:47 pm Post subject: VB.NET Reading site source |
|
|
Hey guys I was wondering what the function for reading variables in a websites source was. Thanks for the help!
_________________
.erutangis ruoy ni siht esu neht ,sdrawkcab siht daer ot hguone trams erew uoy fI |
|
| Back to top |
|
 |
samuri25404 Grandmaster Cheater
Reputation: 7
Joined: 04 May 2007 Posts: 955 Location: Why do you care?
|
Posted: Sun Jan 04, 2009 12:13 am Post subject: |
|
|
The client-side source of a website is just HTML, mixed with various bits of javascript, if you consider it separate.
I believe you can just attach a StreamReader to one of the WebDocument properties, or something, and get the source from there.
_________________
|
|
| Back to top |
|
 |
92Garfield I'm a spammer
Reputation: 57
Joined: 20 Dec 2007 Posts: 5871 Location: Banana Republic Germany
|
Posted: Sun Jan 04, 2009 1:04 pm Post subject: |
|
|
To read the source of the HTML site you simply load it as an textstream
_________________
|
|
| Back to top |
|
 |
sumnewdude Expert Cheater
Reputation: 0
Joined: 23 May 2007 Posts: 181 Location: Where you least expect me.
|
Posted: Sun Jan 04, 2009 8:46 pm Post subject: |
|
|
I thought that there was a function that you call it and name the variable and you can store the variable in vb
_________________
.erutangis ruoy ni siht esu neht ,sdrawkcab siht daer ot hguone trams erew uoy fI |
|
| Back to top |
|
 |
92Garfield I'm a spammer
Reputation: 57
Joined: 20 Dec 2007 Posts: 5871 Location: Banana Republic Germany
|
Posted: Mon Jan 05, 2009 3:32 am Post subject: |
|
|
| sumnewdude wrote: | | I thought that there was a function that you call it and name the variable and you can store the variable in vb |
What vars?
You wont get any variable froma site source...
_________________
|
|
| Back to top |
|
 |
sumnewdude Expert Cheater
Reputation: 0
Joined: 23 May 2007 Posts: 181 Location: Where you least expect me.
|
Posted: Mon Jan 05, 2009 4:24 pm Post subject: |
|
|
I want the variables "PTitle" and "PArtist" from http://player.cumulusstreaming.com/slplayer.aspx?KTLT-FM I tryed finding where it gets its variables but the links that I find in the source I can't get it to display the title or Artist. I was working on somthing awhile back and I thought that I found a function that would let me read variables.
_________________
.erutangis ruoy ni siht esu neht ,sdrawkcab siht daer ot hguone trams erew uoy fI |
|
| Back to top |
|
 |
|