Closed

need a program to auto submit forms and do simple parsing

This project was awarded to pixecs for $65 USD.

Get free quotes for a project like this
Employer working
Awarded to:
Skills Required
Project Budget
$30 - $250 USD
Total Bids
19
Project Description

Need a program that will auto-submit a form a few times and parse the results. It should read from a comma delimited config file in a format like the following:

Concert description, id, tix-per-attempt, number-of-attempts

For example:
xx at orange peel, 1673347, 8, 15
#grace potter 1/25 mpls, 1658590, 4, 25 skip this line if it starts with a #
#other entries

Let's take the first line as an example, from the config file you will construct a URL like the following:

[url removed, login to view]

Now you go to this URL, and you will see a dropdown, set the dropdown value to the $tix-per-attempt value you got from the config file, and submit the form. You will see the server return 8 tickets. Loop through this process $number-of-attempts times or until you get a message from the server that there are no more tickets available.

The goal of this program is to see if a particular concert has fewer than $tix-per-attempt * $number-of-attempts tickets left. Output the result to a log file that corresponds to what's in the config file in the following format:

Concert description, number-of-tickets-pulled

If the number of tickets pulled is smaller than the product of $tix-per-attempt and $number-of-attempts defined in the config file, add a few *** in front of the line so I know this show is about to sell out. If a line is commented out in the config file just copy that same line into the output file without doing anything.

Thanks

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online