Jump to content
  • Advertisement
Sign in to follow this  

Getting data from website

This topic is 4719 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post


Link to post
Share on other sites
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!

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!