title: How to extract data from website using AngleSharp & LINQ?
body: <p>I'm trying to extract the prices from the below mentioned website.  I'm using <a href="https://github.com/AngleSharp/AngleSharp" rel="nofollow">AngleSharp</a> for the extraction.  In the website, the prices are listed below (as an example):</p>
  
  <pre><code>&lt;span class="c-price"&gt;650.00                            &lt;/span&gt;
  </code></pre>
  
  <p>I'm using the following code for the extraction.  </p>
  
  <pre><code>using AngleSharp.Parser.Html;
  using System.Net;
  using System.Net.Http
  
  //Make the request
  var uri = "https://meadjohnson.world.tmall.com/search.htm?search=y&amp;orderType=defaultSort&amp;scene=taobao_shop";
  var cancellationToken = new CancellationTokenSource();
  var httpClient = new HttpClient();
  var request = await httpClient.GetAsync(uri);
  cancellationToken.Token.ThrowIfCancellationRequested();
  
  //Get the response stream
  var response = await request.Content.ReadAsStreamAsync();
  cancellationToken.Token.ThrowIfCancellationRequested();
  
  //Parse the stream
  var parser = new HtmlParser();
  var document = parser.Parse(response);
  
  //Do something with LINQ
  var pricesListItemsLinq = document.All
       .Where(m =&gt; m.LocalName == "span" &amp;&amp; m.ClassList.Equals("c-price"));
  Console.WriteLine(pricesListItemsLinq.Count());
  </code></pre>
  
  <p>However, I'm not getting any items, but they are there on the website.  What am I doing wrong?  If <a href="https://github.com/AngleSharp/AngleSharp" rel="nofollow">AngleSharp</a> isn't the recommended method, what should I use?  And what code should I use?</p>