jeudi 7 mai 2015

How to extract source code from certain page?

what i need is to extract the source code of a web page using vb.net, i have done it before, but there is a web page in which i cannot extract it correctly..

An example is http://ift.tt/1P4pM2b

what i do to extract it is

Dim SourceLink As String
SourceLink = New System.Net.WebClient().DownloadString(TxtLink.Text)
TxtDescripcion.Text = SourceLink

But everytime i do that i only get this as source code:

<META HTTP-EQUIV='Refresh' CONTENT='3; URL=http://ift.tt/1P4pM2b'>

Not the whole page source code... Please Help Me.




Aucun commentaire:

Enregistrer un commentaire