Bid Archiving Web Program
Job Description I need a program to archive the bids from auctions on the website Quibids.com and Pennygrab.com when I input the URL. Example: I input the URL http://www.quibids.com/auctions/127232518-TaylorMade-R11-Irons and it will record the title of the auction and it will also record the time of each bid (in milliseconds left on the timer) and who placed the bid. Also what price the auction sells for and he end time of the auction. The main task is to figure out how your web browser communicates with the Penny Auction server to get auction information. The typical method is that your browser sends HTTP requests of the method GET or POST. What you need to figure out is: what variables does your browser include in the request. Most likely it will include a variable containing what auctions you what data on, and a variable saying you want auction data (as opposed to you want to place a bid, you want to login, etc) There are two ways to determine this. (1) You can either "view the source code" for their web page and figure out what AJAX (javascript) commands your web browser is executing or (2) You can run a third party software and "watch" your web browser communicating with the server. An example of this type of software is at http://www.ethereal.com/ (we did both methods, but mainly #2) Afterwards, you need to write a computer program that replicates the question (the HTTP request) your browser sends to the Penny Auction server and modify the variables to reference the auctions you're interested in. We wrote our script in PHP. and mimicked our web browser's POST request. Example code for PHP is here: http://www.jonasjohn.de/snippets/php/post-request.htm Then just write a loop and have your PHP script continually ask the Penny Auction site directly, "What is the current status of Auction 1452912?" and it will receive a data packet back containing that information. Additionally, you will first need to request the web page that contains all of the current auctions and parse out the auction id numbers. Because you need these auction ids to include in your HTTP requests. The browser will be made in an emulator on the web site. Keywords: Web Programming, javascript, php, ajax
| Expired |