WWW::Search::HeadHunter - class for searching HeadHunter |
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).
No restriction by default.
No restrictions by default.
To select several pay ranges use a '+' sign, e.g. {'Pay' => 'P3+P4'}
No restrictions by default.
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'}.
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 |