I need a web scraper written for the following url:
[url removed, login to view]
All pages will need to be retrieved not just page one.
The data on this site changes and the number of pages will vary, however, we need to scrape data from all available pages.
The output should be a pipe (|) delimited file with the following column mappings:
origin_city --> data located in the "Ship City" column
origin_state --> data located in the "Ship State" column
ship_date --> the date from the "Pickup Date" column changed to the YYYY-MM-DD format,
if no date is specified use the current days date in the YYYY-MM-DD format
destination_city --> data located in the "Consignee City" column
destination_state --> data located in the "Consignee State" column
receive_date --> leave blank
trailer_type --> the abbreviations located in the "Equip." column
load_size --> add the text "Full" to this column
weight --> data located in the "Weight" column
length --> Leave blank
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 --> data located in the "Drops" column,
the specified number in this column will need to be added, followed by the word "drops"
load_number --> data located in the "Load" column
commodity --> leave blank
The first line of the output should contain all of the column headers.
Any field that contain 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 '[url removed, login to view]' and the output file should be
called '[url removed, login to view]'
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.
Được trao cho:
I can provide you Perl script that will load target web page using WWW::Mechanize and parse it using JSON::XS. Output will be saved into [login to view URL] file.