Jump to content
  • Advertisement
Sign in to follow this  
ArchG

[web] GETing Information from the web.

This topic is 4554 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

Hi, I play lots of Online Poker, and want to make a program that gets my hand histories and organizes them. Currently they have a website that I can go to and look at my hand history. What it does is you give it a query, and it displays all the information in tables. Is the only way I can actually get this data by parsing through the source code of the webpage (the html code)? That is what I'm planning to do, I was just curious if there was another, or better way of doing it. The current website is Here athough I don't think you can go there unless your me. Thanks ArchG

Share this post


Link to post
Share on other sites
Advertisement
Yes, you can do this. Simply send a HTTP GET/POST request to the page you want. This will give you the html of the page. The use regular expressions to parse it and pull out the information you need.

In the .NET frameork and Java there is nice classes for HTTP requests and regEx. And in (almost) any other language/framework, if theres no native support for it, you will probably find libs for it.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!