I need a web scraper written for the following url:
[login to view URL]
All information needed is available on the main page. The number of rows will vary.
The rows will be separated by dashed line segments.
The output should be a pipe (|) delimited file with the following column mappings:
origin_city --> data is the first city name in the "ROUTE" column
origin_state --> data is located after the comma after the origin city name in the "ROUTE" column
ship_date --> data located in the "DATE AVAIL." column, change to the YYYY-MM-DD format
destination_city --> data is the city name located after the abbreviation D/O in the "ROUTE" column
destination_state --> data is located after the comma after the distination city name in the "ROUTE" column
receive_date --> leave blank
trailer_type --> data is located in the "TRAILER TYPE" column
load_size --> add the text "FULL"
weight --> data located in the "WEIGHT" column
length --> data located in the "FEET" column
width --> leave blank
height --> leave blank
trip_miles --> leave blank
pay_rate --> leave blank
contact_phone --> leave blank
contact_name --> leave blank
tarp_required --> leave blank
comment --> in the individual blocks of data, if there is data located in the "ROUTE" column with the abbreviations P/U,
add P/U and data after P/U to comment
load_number --> data located in the "LOAD NUMBER" column
commodity --> data located in the "PALL." column
The first line of the output should contain all of the column headers.
Any field that contains no data should be left blank.
Please do not use words like "null" or "blank" in blank columns.
Below is a sample output of the first 5 columns using sample data:
The deliverable will be a Perl .pl file that must run on
Ubuntu Linux and must use Modern::Perl. The Perl .pl file
should be called '[login to view URL]' and the output file should be
called '[login to view URL]'
It will be scheduled in cron to run unattended every 15 minutes.
Please specify what language/OS/modules you plan to use.
Also, please include the word "raccoon" in your bid so I know that
you read this description.
First of all I know about raccoon. Thank you for invitation! I can provide you a Perl script that will use WWW::Mechanize and HTML::TreeBuilder::LibXML modules to complete this task.