I use HtmlAgilityPack
to extract movie information on the web (as pictured) with c# winform on visual studio. But I can not get the movie link (as shown).
Please help me find a way to get the link highlighted in the picture.
HtmlWeb htmlWeb = new HtmlWeb()
{
AutoDetectEncoding = false,
OverrideEncoding = Encoding.UTF8
};
htmlWeb.UserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36";
HtmlAgilityPack.HtmlDocument document = htmlWeb.Load("http://woohay.com/xem-phim/anh-2018-11458");
String link_film = document.DocumentNode.SelectSingleNode("//div[@class='jw-media jw-reset']/video").Attributes["src"].Value;
Movie_module.FrmVLC frmVLC = new Movie_module.FrmVLC(link_film);
frmVLC.StartPosition = FormStartPosition.CenterScreen;
frmVLC.btn_down.Visible = true;
frmVLC.Show();