NAME

WWW::Scraper::Monster - Scrapes Monster.com

SYNOPSIS

 use WWW::Search;
 my $oSearch = new WWW::Search('Monster');
 my $sQuery = WWW::Search::escape_query("unix and (c++ or java)");
 $oSearch->native_query($sQuery,
 			{'st' => 'CA',
			 'tm' => '14d'});
 while (my $res = $oSearch->next_result()) {
     print $res->company . "\t" . $res->title . "\t" . $res->change_date
	 . "\t" . $res->location . "\t" . $res->url . "\n";
 }

DESCRIPTION

This class is a Monster specialization of WWW::Search. It handles making and interpreting Monster searches at http://www.monster.com. Monster supports Boolean logic with "and"s "or"s. See http://jobsearch.monster.com/jobsearch_tips.asp for a full description of the query language.

The returned WWW::Scraper::Response objects contain url, title, company, location and change_date fields.

OPTIONS

The following search options can be activated by sending a hash as the second argument to native_query().

Restrict by Date

The default is to return jobs posted in last 30 days. An example below changes the default to 14 days:

{'tm' => '14d'}

lid - Restrict by Location

No restriction by default.

over 8

"323" => Alabama-Anniston
"324" => Alabama-Birmingham
"325" => Alabama-Mobile/Dothan
"328" => Alabama-Montgomery
"326" => Alabama-Northern/Huntsville
"329" => Alabama-Tuscaloosa
"318" => Alaska-Anchorage
"319" => Alaska-Fairbanks
"320" => Alaska-Juneau
"337" => Arizona-Flagstaff
"338" => Arizona-Phoenix
"340" => Arizona-Tucson
"941" => Arizona-Yuma
"333" => Arkansas-Eastern
"334" => Arkansas-Little Rock
"331" => Arkansas-Western
"347" => California-Anaheim/Huntington Beach
"349" => California-Central Coast
"343" => California-Central Valley
"344" => California-Chico/Eureka
"882" => California-Long Beach
"348" => California-Los Angeles
"702" => California-Oakland/East Bay
"350" => California-Orange County
"352" => California-Sacramento
"351" => California-San Bernardino/Palm Springs
"354" => California-San Diego
"355" => California-San Francisco
"357" => California-Santa Barbara
"883" => California-Silicon Valley/Peninsula
"356" => California-Silicon Valley/San Jose
"698" => California-Ventura County
"361" => Colorado-Boulder/Fort Collins
"362" => Colorado-Colorado Springs
"363" => Colorado-Denver
"884" => Colorado-Denver South
"365" => Colorado-Western/Grand Junction
"367" => Connecticut-Danbury/Bridgeport
"368" => Connecticut-Hartford
"689" => Connecticut-New Haven
"885" => Connecticut-Southeast/New London
"369" => Connecticut-Stamford
"374" => Delaware-Delaware
"371" => District of Columbia-Washington/Metro
"377" => Florida-Daytona
"378" => Florida-Ft. Lauderdale
"379" => Florida-Ft. Myers/Naples
"380" => Florida-Gainesville/Jacksonville
"382" => Florida-Melbourne
"383" => Florida-Miami
"385" => Florida-Orlando
"386" => Florida-Pensacola/Panama City
"388" => Florida-St. Petersburg
"389" => Florida-Tallahassee
"390" => Florida-Tampa
"391" => Florida-West Palm Beach
"950" => Georgia-Atlanta
"899" => Georgia-Atlanta North
"886" => Georgia-Atlanta South
"395" => Georgia-Central/Augusta
"398" => Georgia-Savannah
"942" => Georgia-Southwest
"401" => Hawaii-Hawaii
"412" => Idaho-Boise
"413" => Idaho-Eastern/Twin Falls
"887" => Idaho-Northern
"700" => Illinois-Bloomington/Peoria
"417" => Illinois-Chicago
"888" => Illinois-Chicago North
"889" => Illinois-Chicago Northwest
"890" => Illinois-Chicago South
"422" => Illinois-Quincy
"423" => Illinois-Rockford
"419" => Illinois-Southern
"424" => Illinois-Springfield/Champaign
"426" => Indiana-Evansville
"427" => Indiana-Fort Wayne
"891" => Indiana-Gary/Merrillville
"428" => Indiana-Indianapolis
"429" => Indiana-Lafayette
"430" => Indiana-South Bend
"431" => Indiana-Terre Haute
"404" => Iowa-Cedar Rapids
"406" => Iowa-Central/Des Moines
"939" => Iowa-Davenport
"408" => Iowa-Western/Sioux City
"435" => Kansas-Kansas City
"940" => Kansas-Overland Park
"434" => Kansas-Topeka/Manhattan
"437" => Kansas-Wichita Western
"439" => Kentucky-Bowling Green/Paducah
"441" => Kentucky-Lexington
"442" => Kentucky-Louisville
"445" => Louisiana-Alexandria
"446" => Louisiana-Baton Rouge
"447" => Louisiana-Lafayette /Lake Charles
"450" => Louisiana-New Orleans
"449" => Louisiana-Northern
"462" => Maine-Central/Augusta
"463" => Maine-Northern/Bangor
"464" => Maine-Southern/Portland
"458" => Maryland-Baltimore
"708" => Maryland-Montgomery County
"460" => Maryland-Salisbury
"453" => Massachusetts-Boston
"893" => Massachusetts-Boston North
"892" => Massachusetts-Boston South
"455" => Massachusetts-Framingham/Worcester
"454" => Massachusetts-Western/Springfield
"468" => Michigan-Ann Arbor
"470" => Michigan-Detroit
"707" => Michigan-Flint/Saginaw
"472" => Michigan-Grand Rapids
"695" => Michigan-Kalamazoo
"473" => Michigan-Lansing
"467" => Michigan-Northern
"482" => Minnesota-Mankato/Rochester
"483" => Minnesota-Minneapolis
"480" => Minnesota-Northern/Duluth
"684" => Minnesota-St. Paul
"502" => Mississippi-Central
"500" => Mississippi-Northern
"499" => Mississippi-Southern
"489" => Missouri-Jefferson City
"491" => Missouri-Kansas City/Independence
"492" => Missouri-Northeastern
"494" => Missouri-Quincy
"897" => Missouri-Southeastern
"495" => Missouri-Springfield/Joplin
"497" => Missouri-St. Louis
"505" => Montana-Eastern/Billings
"508" => Montana-Great Falls
"699" => Montana-Helena/Butte
"510" => Montana-Western/Missoula
"526" => Nebraska-Lincoln
"528" => Nebraska-Omaha
"525" => Nebraska-West/North Platte
"541" => Nevada-Las Vegas
"542" => Nevada-Reno
"705" => New Hampshire-Northern
"530" => New Hampshire-Southern
"532" => New Jersey-Central
"534" => New Jersey-Northern
"533" => New Jersey-Southern
"537" => New Mexico-Albuquerque
"685" => New Mexico-Santa Fe
"544" => New York-Albany/Poughkeepsie
"545" => New York-Binghamton/Elmira
"546" => New York-Buffalo
"549" => New York-Long Island
"550" => New York-New York City
"547" => New York-Northern
"552" => New York-Rochester
"553" => New York-Syracuse
"554" => New York-Utica
"556" => New York-Westchester
"512" => North Carolina-Charlotte
"515" => North Carolina-Eastern/Greenville
"514" => North Carolina-Greensboro
"516" => North Carolina-Raleigh/Durham-RTP
"517" => North Carolina-Western/Asheville
"513" => North Carolina-Wilmington/Fayetteville
"519" => North Carolina-Winston Salem
"521" => North Dakota-Central
"522" => North Dakota-Eastern
"523" => North Dakota-Western
"558" => Ohio-Akron
"559" => Ohio-Cincinnati
"560" => Ohio-Cleveland
"561" => Ohio-Columbus/Zanesville
"562" => Ohio-Dayton
"563" => Ohio-Northwest
"566" => Ohio-Youngstown
"569" => Oklahoma-Central-Oklahoma City
"571" => Oklahoma-Eastern/Tulsa
"574" => Oregon-Central
"578" => Oregon-Portland
"579" => Oregon-Salem
"576" => Oregon-Southern
"581" => Pennsylvania-Allentown
"582" => Pennsylvania-Erie
"583" => Pennsylvania-Harrisburg
"584" => Pennsylvania-Johnstown
"585" => Pennsylvania-Philadelphia
"586" => Pennsylvania-Pittsburgh
"704" => Pennsylvania-State College
"588" => Pennsylvania-Wilkes Barre
"703" => Pennsylvania-York/Lancaster
"1384" => Puerto Rico-San Juan
"591" => Rhode Island-Providence
"594" => South Carolina-Columbia
"595" => South Carolina-Florence/Myrtle Beach
"596" => South Carolina-Greenville/Spartanburg
"593" => South Carolina-South/Charleston
"598" => South Dakota-East/Sioux Falls
"600" => South Dakota-West/Rapid City
"603" => Tennessee-Chattanooga
"604" => Tennessee-Jackson
"605" => Tennessee-Knoxville
"606" => Tennessee-Memphis
"607" => Tennessee-Nashville
"610" => Texas-Abilene/Odessa
"611" => Texas-Amarillo/Lubbock
"612" => Texas-Austin
"615" => Texas-Dallas
"613" => Texas-East/Tyler/Beaumont
"616" => Texas-El Paso
"686" => Texas-Fort Worth
"619" => Texas-Houston
"624" => Texas-San Antonio
"618" => Texas-South/Corpus Christi
"627" => Texas-Waco
"628" => Texas-Wichita Falls
"692" => Utah-Provo
"630" => Utah-Salt Lake City
"529" => Vermont-Northern
"706" => Vermont-Southern
"1383" => Virgin Islands-St. Croix
"1381" => Virgin Islands-St. John
"1382" => Virgin Islands-St. Thomas
"894" => Virginia-Alexandria
"634" => Virginia-Charlottesville/Harrisonburg
"693" => Virginia-Fairfax
"895" => Virginia-McLean/Arlington
"635" => Virginia-Norfolk/Hampton Roads
"701" => Virginia-Northern
"637" => Virginia-Richmond
"638" => Virginia-Roanoke
"694" => Virginia-Vienna
"896" => Washington-Bellevue/Redmond
"649" => Washington-Central/Yakima
"648" => Washington-Eastern/Spokane
"647" => Washington-Seattle
"697" => Washington-Tacoma/Olympia
"663" => West Virginia-Northern
"661" => West Virginia-Southern
"654" => Wisconsin-Eau Claire/LaCrosse
"653" => Wisconsin-Green Bay/Appleton
"655" => Wisconsin-Madison
"656" => Wisconsin-Milwaukee
"659" => Wisconsin-Northern
"667" => Wyoming-Casper
"668" => Wyoming-Cheyenne

st - State

Only jobs in state $state. To select multiple states separate them with a "+", e.g. {'st' => 'NY+NJ+CT'}

fn - Job Function

Use {'fn' => $cat_id} to select one to five (5) job categories. For multiple selection separate selections with a space, e.g. 'fn' => '1 2'. Leave blank to select all categories.

"1" => Accounting/Auditing
"2" => Administrative and Support Services
"8" => Advertising/Marketing/Public Relations
"540" => Agriculture, Forestry, & Fishing
"541" => Architectural Services
"12" => Arts, Entertainment, and Media
"576" => Banking
"46" => Biotechnology and Pharmaceutical
"542" => Community, Social Services, and Nonprofit
"543" => Computers, Hardware
"6" => Computers, Software
"544" => Construction, Mining and Trades
"546" => Consulting Services
"545" => Customer Service and Call Center
"3" => Education, Training, and Library
"547" => Employment Placement Agencies
"4" => Engineering
"548" => Finance/Economics
"549" => Financial Services
"550" => Government and Policy
"551" => Healthcare, Other
"9" => Healthcare, Practitioner and Technician
"552" => Hospitality/Tourism
"5" => Human Resources
"660" => Information Technology
"553" => Installation, Maintenance, and Repair
"45" => Insurance
"554" => Internet/E-Commerce
"555" => Law Enforcement, and Security
"47" => Manufacturing and Production
"556" => Military
"11" => Other
"557" => Personal Care and Service
"558" => Real Estate
"13" => Restaurant and Food Service
"44" => Retail/Wholesale
"10" => Sales
"559" => Science
"560" => Sports and Recreation
"561" => Telecommunications
"562" => Transportation and Warehousing

AUTHOR

Glenn Wood, Chttp://search.cpan.org/search?mode=author&query=GLENNWOOD.

COPYRIGHT

Copyright (C) 2001 Glenn Wood. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 215:

'=item' outside of any '=over'