From 17707921a23a84f7c33384b5c1d24a66215f3b8c Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Thu, 21 Jan 2016 15:49:34 -0800 Subject: [PATCH] support vitae --- jobs_to_org | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/jobs_to_org b/jobs_to_org index 3906309..af6a6ff 100755 --- a/jobs_to_org +++ b/jobs_to_org @@ -102,6 +102,16 @@ my %sites = date => [], position => [class=>'job-title heading'], }, + vitae => {url => 'https://chroniclevitae.com/job_search?job_search%5Bdistance_from_zip%5D=10&job_search%5Bemployment_type%5D=Full-time&job_search%5Bposition_type%5D=63', + next_selector => [text_regex => qr{Next}, url_regex=>qr{^/job_search}], + job_selector => [url_regex => qr{/jobs/\d+-\d+$}], + university => [href => qr{/institutions/\d+$}], + description => [class => 'job-listing__content__description'], + date => [_tag => 'td', content => qr/\,\s+20\d{2}$/], + position => [_tag => 'h1', + sub {scalar $_[0]->parent()->attr('class') eq 'page-title page-title--two-col'}, + ], + }, ); binmode STDOUT,":utf8"; -- 2.39.5