Getting data from website
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.
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!
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!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement