这里是我的代码:如何从C#中的HTML页面中提取此文本?
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 + "";
我如何可以采取
http:\\\/\\\/cs513404v4.vk.me\\\/u3692175\\\/videos\\\/b113808aad.360.mp4\
从HTML页面?
http://htmlagilitypack.codeplex.com – SLaks
您是否试图在html响应中获取单个url或任何随机url?如果它是第二个http://stackoverflow.com/questions/1819534/get-url-from-html-code-using-a-regular-expression – Gonzix
您试图提取页面中的视频吗?如果是这样,你有样品标记吗? –