|
WWW::Search::HeadHunter - class for searching HeadHunter
|
WWW::Search::HeadHunter - class for searching HeadHunter
This module is not included with the standard ActivePerl distribution. It is available as a separate download using PPM.
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).
- {'Freshness' => $number}
-
Display jobs posted in last $number days
No restriction by default.
- {'Town' => $town}
-
To select jobs from approximately 30 miles around the city.
- {'SID' => $loc}
-
Only jobs in state/province $loc (two letters only).
- {'CID' => 'US'}
-
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.
- {'Pay' => 'P1'} - less than $15,000 Per Year
-
- {'Pay' => 'P2'} - $15,000 - $30,000 Per Year
-
- {'Pay' => 'P3'} - $30,000 - $50,000 Per Year
-
- {'Pay' => 'P4'} - $50,000 - $75,000 Per Year
-
- {'Pay' => 'P4'} - $75,000 - $100,000 Per Year
-
- {'Pay' => 'P6'} - more than $100,000 Per Year
-
To select several pay ranges use a '+' sign, e.g. {'Pay' => 'P3+P4'}
No restrictions by default.
- {'EmpType' => 'Typ1'} - Employee
-
- {'EmpType' => 'Typ2'} - Contract
-
- {'EmpType' => 'Typ3'} - Employee or Contract
-
- {'EmpType' => 'Typ4'} - Intern
-
No restriction by default. To select jobs from a specific job
category use the following option:
- {'Cats' => $job_category}
-
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'}.
WWW::Search::HeadHunter is written and maintained by Alexander Tkatchev
(Alexander.Tkatchev@cern.ch)
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.
|
WWW::Search::HeadHunter - class for searching HeadHunter
|
|