0

Here is my code:

HttpClient client = new HttpClient();
HttpResponseMessage response = await client.GetAsync("http://vk.com/video219171498_166049761");
string Vk_video_resText = await response.Content.ReadAsStringAsync();
txt.Text = "" + Vk_video_resText + "";

How can I take

http:\\\/\\\/cs513404v4.vk.me\\\/u3692175\\\/videos\\\/b113808aad.360.mp4\

from the HTML page?

Michael Petrotta
  • 59,888
  • 27
  • 145
  • 179
user2660964
  • 141
  • 1
  • 9

1 Answers1

0

If I understand correctly, all you want to do is strip away all the HTML tags so you're only left with the text.

A lighter weight solution over htmlagilitypack is the code presented in the article Quick and Easy Method to Remove Html Tags.

Jonathan Wood
  • 65,341
  • 71
  • 269
  • 466