Getting data from website

Started by
1 comment, last by Will F 18 years, 10 months ago
Is there a way to make a program to read a number from a website and then enter it into a field and submit it on another website? If so what programming language would be most suited for this task and what commands are used to get and put the data.
Advertisement
I say C#. What you can do is this:

1. Download the entire html page.
2. Parse it so you get the data you need.
3. Use techniques such as: Automating Internet Explorer to send the data to the new form on another web page.

Now for the code to download a html page and parse it in C#, take a look at my code here. You will use a few things out of it, namely the Downloader::Download function. Note that you can easily make that save to a string instead of a file. if you want to see that code I have it avaliable as well I can post. Just my ideas of what you can do [wink] Good luck!
I'd be tempted to use perl for something like that. If you've done any programming it's a really easy language to pick up.

Can't remember what web based functionality is in the core language, but i'm sure you could find a module for dealing with web pages at CPAN

This topic is closed to new replies.

Advertisement