WWW::Search::HeadHunter - class for searching HeadHunter
use WWW::Search; my $oSearch = new WWW::Search('HeadHunter'); my $sQuery = WWW::Search::escape_query("unix and (c++ or java)"); $oSearch->native_query($sQuery, {'SID' => 'CA', 'Freshness' => 14}); while (my $res = $oSearch->next_result()) { print $res->company . "\t" . $res->title . "\t" . $res->change_date . "\t" . $res->location . "\t" . $res->url . "\n"; }
This class is a HeadHunter specialization of WWW::Search. It handles making and interpreting HeadHunter searches at http://www.HeadHunter.net. HeadHunter supports Boolean logic with "and"s "or"s. See http://www.HeadHunter.net/Help/jobquerylang.htm for a full description of the query language.
The returned WWW::SearchResult objects contain url, title, company, location and change_date fields.
The following search options can be activated by sending a hash as the second argument to native_query().
The default is to return jobs posted in last 30 days (internally done by HeadHunter search engine).
Display jobs posted in last $number days
No restriction by default.
To select jobs from approximately 30 miles around the city.
Only jobs in state/province $loc (two letters only).
To view only US jobs. To see jobs from other countries, check out the acceptable country list at http://www.Headhunter.net/listcoun.htm.
No restrictions by default.
To select several pay ranges use a '+' sign, e.g. {'Pay' => 'P3+P4'}
No restriction by default. To select jobs from a specific job category use the following option:
See below the list of acceptable values of $job_category. Multiple selections are possible (up to five) using a '+' sign, e.g. {'Cats' => 'Cat001+Cat002'}.
Cat001 - Accounting
Cat002 - Activism
Cat003 - Administration
Cat004 - Advertising
Cat005 - Aerospace
Cat110 - Agriculture
Cat006 - Air Conditioning
Cat007 - Airlines
Cat008 - Apartment Management
Cat009 - Architecture
Cat010 - Art
Cat011 - Automotive
Cat012 - Aviation
Cat013 - Banking
Cat015 - Bilingual
Cat111 - Biotechnology
Cat016 - Bookkeeping
Cat017 - Broadcasting
Cat018 - Care Giving
Cat112 - Carpentry
Cat113 - Chemistry
Cat019 - Civil Service
Cat020 - Clerical
Cat021 - College
Cat114 - Communication
Cat022 - Computer
Cat023 - Construction
Cat125 - Consulting
Cat024 - Counseling
Cat025 - Customer Service
Cat026 - Decorating
Cat027 - Dental
Cat028 - Design
Cat029 - Driving
Cat030 - Education
Cat031 - Electronic
Cat032 - Emergency
Cat033 - Employment
Cat034 - Engineering
Cat035 - Entertainment
Cat036 - Environmental
Cat037 - Executive
Cat115 - Fabrication
Cat116 - Facilities
Cat038 - Fashion/Apparel
Cat039 - Financial
Cat040 - Food Services
Cat042 - Fundraising
Cat044 - General Office
Cat126 - Government
Cat045 - Graphics
Cat046 - Grocery
Cat047 - Health/Medical
Cat048 - Home Services
Cat049 - Hospital
Cat050 - Hotel/Motel
Cat052 - Human Resources
Cat053 - HVAC
Cat054 - Import/Export
Cat117 - Industrial
Cat055 - Installer
Cat056 - Insurance
Cat118 - Internet
Cat057 - Janitorial
Cat119 - Journalism
Cat058 - Law Enforcement
Cat059 - Legal
Cat060 - Maintenance
Cat061 - Management
Cat062 - Manufacturing
Cat063 - Marketing
Cat064 - Mechanical
Cat065 - Media
Cat066 - Merchandising
Cat127 - Military
Cat067 - Mining
Cat128 - Mortgage
Cat069 - Multimedia
Cat070 - Nursing
Cat071 - Nutrition
Cat121 - Packaging
Cat122 - Painting
Cat073 - Pest Control
Cat129 - Pharmaceutical
Cat075 - Photography
Cat076 - Plumbing
Cat077 - Printing
Cat078 - Professional
Cat079 - Property Management
Cat080 - Public Relations
Cat081 - Publishing
Cat082 - Purchasing
Cat083 - Quality Control
Cat123 - Radio
Cat084 - Real Estate
Cat085 - Recreation
Cat086 - Research
Cat087 - Restaurant
Cat088 - Retail
Cat089 - Sales
Cat090 - Science
Cat124 - Secretarial
Cat091 - Security
Cat092 - Services
Cat093 - Shipping/Receiving
Cat094 - Social Services
Cat130 - Supply Chain
Cat095 - Teaching
Cat096 - Technical
Cat097 - Telecommunications
Cat098 - Telemarketing
Cat099 - Television
Cat100 - Textile
Cat101 - Trades
Cat102 - Training
Cat103 - Transportation
Cat104 - Travel
Cat105 - Utilities
Cat106 - Warehouse
Cat107 - Waste Management
Cat108 - Word Processing
Cat109 - Work From Home
WWW::Search::HeadHunter is written and maintained by Alexander Tkatchev (Alexander.Tkatchev@cern.ch).
WWW::Search::HeadHunter
THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
To install WWW::Search, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Search
CPAN shell
perl -MCPAN -e shell install WWW::Search
For more information on module installation, please visit the detailed CPAN module installation guide.