WebClient.DownloadString() Not Producing Exact HTML
Posted
by Ryan Fuentes
on Stack Overflow
See other posts from Stack Overflow
or by Ryan Fuentes
Published on 2010-05-20T19:50:04Z
Indexed on
2010/05/20
20:10 UTC
Read the original article
Hit count: 245
So here's the deal. I'm creating a spider bot for a website that scans all the product pages and records the product data. I'm using C# and the WebClient library to download the HTML string. The site I'm crawling must be specially made because the HTML that is received from WebClient.DownloadString() is different than the HTML that I get when I view the source of the HTML when visiting it on a browser. This seems intentional because the only info I can't get is the price.
Does anyone know a workaround for this problem or can anyone explain what is happening? Thanks.
© Stack Overflow or respective owner