這裏是我的代碼:如何從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
您試圖提取頁面中的視頻嗎?如果是這樣,你有樣品標記嗎? –