New Post: How to get content using httpAgilityPack website?
doc.LoadHtml(content); HtmlNodeCollection defNodes=doc.DocumentNode.SelectNodes("//span[@class='def']); var defs=from c in defNodes where c.InnerText.Contains("serious") select c;
View ArticleNew Post: Html Entities get html encoded?
string noNbsp= Regex.Replace(inputHTML, @" ", "").Trim();
View ArticleNew Post: Support for .NET Core
Hi, are there any plans package compatible with ASP.NET 5 running on .NET Core? There are only few changes needed to make need working. Thank you! Dusan
View ArticleNew Post: using htmlagilitypack with ajax div load c#
dinhchinh wrote: Oh, thank you. Visit Website: http://chukysofpt.wordpress.com And http://kinhdoanhtoilyson.wordpress.com I was pleased to find your useful information. I hope you and I will have a...
View ArticleNew Post: Why don't I catch be null errors on...
url = await getstring.GetAsync("http://dictionary.cambridge.org/dictionary/british/"+msg); htmldocument.LoadHtml(url); var doc = htmldocument.DocumentNode.SelectNodes("//div[starts-with(@class,...
View ArticleNew Post: How to get url of the video or the mp3 by Http Agility Pack????
How to get url of the video or the mp3 by Http Agility Pack???? It like to get photos.
View ArticleNew Post: Login & Javascript
Has anyone had any luck with enabling Javascript with Htmlagilitypack?
View ArticleNew Post: Being crashed application when using http agility pack on universal
public async void LoadData() { //Getting of data var httpClient = new HttpClient(); var strHtml = await httpClient.GetStringAsync("https://myspace.com/discover/people"); // Http Agility Pack var...
View ArticleNew Post: How to get a link mp3 online from website???
Can Http Agility Pack get a link from website as IDM download manager or Flastget.
View ArticleNew Post: get attribute
<?xml version="1.0" encoding="ISO-8859-1"?> <bookstore> <book> <title lang="eng">Harry Potter</title> <price>29.99</price> </book> <book> <title...
View ArticleNew Post: Retrieve and tags which in div in div.
Hello Here is my HTML<div class="main"> <div class="front> <div class="end"> <ul class="1"> <li> <a href="www.example.com/1asp" title="abc"> </li> <li...
View ArticleNew Post: How much information is loaded by HtmlWeb.load([url])
Hi, I would like to ask if I use HtmlWeb.load([url]) method - is the whole html page loaded or just DOM tree with empty nodes? If the whole html page, is there something that could be used to only load...
View ArticleNew Post: Convert xpath to linq
Hi all, i am trying to extract the info in winRT based on the following HTML:<ul class="list-movie"> <li class="movie-item"> <a class="block-wrapper" title="My Title 1"...
View ArticleNew Post: SelectNodes And SelectSingleNode not working in widows phone 8.1 app
HtmlDocument htmlDoc = new HtmlAgilityPack.HtmlDocument(); htmlDoc.OptionWriteEmptyNodes = true; htmlDoc.OptionFixNestedTags = true; htmlDoc.LoadHtml(e.Result); HtmlNodeCollection cole =...
View ArticleNew Post: Version for compact framework?
I can't make HtmlAgilityPack cf2.0 reference working with System.Xml cf3.5 version. Does anyone knows how to do that? My WinCE device has 3.5 cf.
View ArticleNew Post: HTML and MemoryStream
Can anyone find a reason for this code not working? That is, for the stream returning empty?IList<QuestionDefinitions> questiondefs = new List<QuestionDefinitions>(); QuestionDefinitions...
View ArticleNew Post: In loops Althought It be have data and no data(10 loops, 3 loops...
I will explain by example. Note: When I debugged In 10 loops of foreach and I saw phrasal tag to get data or no data(10 loops, 3 loops has data, the rest of loops are no data). As the secondth of...
View ArticleNew Post: universal app
+1 Please update HTMLAgilityPack to work with universal app. Thanks!
View ArticleNew Post: HTML and MemoryStream
you're initializing a new stream but not loading anything into it. Stream htmlStream = new MemoryStream(); so when you call questdef.NewTxt = streamReader.ReadToEnd().Trim(); the stream is empty
View Article