PERL - Scrape webform and submit POST data (multiple page submitals)
$100-500 USD
Completed
Posted over 18 years ago
$100-500 USD
Paid on delivery
I have a web form (that I created and have control over) that submits data to a third-party website (url: [login to view URL]). I have a table of data (drawn from a MySQL database) that requires a submission via the form for each row. I need a PERL script that will read the form, and for each row of the input data will 1) confirm that the workflow value of input data is in the list of acceptable values (from the form), 2) use CURL to submit the form with the values from the input data (and the hidden fields of the form) 3) read the returned URL (with a TRUE or FALSE result To execute our project, you can execute the form at the URL above as long as you enter the value of TESTING for the Company Name and TESTING for Event Type. ADD'L after reading first comments (thanks) a) The list of workflow values on the form will change over time (increase) via changes external to this project b) If the workflow value is not on the form, I just need the code to execute a software stub (a subroutine that just returns a TRUE) c) the data used to complete the form comes from a SQL statement: SELECT Flag_Date, Title, Subject, Tasks_Workflow, Tasks_DaysOffset FROM Calendar_Calendar, Calendar_Tasks, Calendar_Cat_Relations, Calendar_Categories, Calendar_Cat_Task_Rel WHERE Tasks_Event = Calendar_Calendar.Internal_abbrev AND CalendarID = [login to view URL] AND CategoryID = [login to view URL] AND Flag_Date + INTERVAL (Tasks_DaysOffset + CTR_addl_offset) DAY = $dateSelected AND CTR_Category = Title AND CTR_workflow = Tasks_Workflow ORDER BY Tasks_Workflow ASC where Title => Company, Tasks_Workflow => Workflow, Subject =>Event type Your code will be dropped into an existing PERL program attached. I will provide a login to a sandbox to the winning bidder
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows? (depending on the nature? of the deliverables):
Suitably commented PERL code - non-obfuscated. Buyer will install on server as required.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
* * *This broadcast message was sent to all bidders on Monday Dec 5, 2005 11:05:05 AM:
Thank you for your bids and questions. I have expanded the project summary and provided the PERL code into which the code for this project will be inserted.
I expect to close the bidding within 48 hours.
## Platform
This will run on a LAMP platform (Linux, Apache, MySQL, PHP or in this case PERL) platform. We purchase hosting services and the buyer is very comfortable with PERL, installing scripts and debugging PERL. Buyer can answer most techical questions about the environment. For information on the PERL environment (including installed modules - [login to view URL] )