I wanted to try to develop a screen scraper I can use for a client but I am having some issues. Before I buy one I thought I should post the question here. I need this solution as soon as possible so any help would be appreciated! I need to go to various court websites and scrape the case data. I then need to be able to write the data to a csv file. I will need to continue to add data to the same file. Can anyone help. On the web, I was told this is an easy process but all I am getting is a copy of the screen and data. I just need the data to be written to a csv file. This solution needs to be in ASP.NET/C#.NET.
Thank you in advance!
Miracle By Design
public partial class _Default : System.Web.UI.Page
protected void Page_Load(object sender, EventArgs e)
string str = "http://www.clerk-alachua-fl.org/pa/pa.urd/pamw2000*o_case_sum?83518636";
home.Text = screenscrape(str);
private string screenscrape(string url)
WebRequest obj1 = System.Net.HttpWebRequest.Create(url);
obj = obj1.GetResponse();
using (StreamReader sr = new StreamReader(obj.GetResponseStream()))
r = sr.ReadToEnd();
gvResults.DataSource = r;
// binds the databind
// The following lines of code writes the extracted Urls to the file named test.txt
StreamWriter sw = new StreamWriter(Server.MapPath("AlachuaCoFLCircuitCourt.csv"));