To read content of the html site I use WebClient:
WebClient client = new WebClient();
byte[] html = client.DownloadData(url);
UTF8Encoding utf = new UTF8Encoding();
return utf.GetString(html);
The problem when site is like http://www.bet365.com. Odds are displayed in swf. How can I read odds ?
I cannot event display content of the site in Mozilla by Ctrl+U or Firebug. In IE (F12) Inspect works.
Thanks
As far as I know you cannot scrape Flash content.
What you could do, however, is try to sniff the HTTP traffic initiated by the .swf, using a proxy tool, such as Fiddler or Wireshark and pray that it’s not encrypted.
By analyzing these HTTP requests you will be able to extract the ones that retrieve the data and automate them using
WebClientorHttpWebRequest.Before automating data extraction, however, make sure it is allowed and you’re not violating any of the website terms and conditions.