You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
79 lines
1.5 KiB
YAML
79 lines
1.5 KiB
YAML
site_id: usajobs
|
|
enabled: true
|
|
repair_needed: false
|
|
|
|
identity:
|
|
label: USAJOBS
|
|
category: government
|
|
base_url: https://www.usajobs.gov
|
|
start_url_template: "https://www.usajobs.gov/Search/Results?k={keywords_urlencoded}&p=1"
|
|
|
|
browser:
|
|
profile_mode: persistent_chrome_profile
|
|
profile_name: JobAgent
|
|
headed_on_learn: true
|
|
headless_on_run: true
|
|
|
|
search:
|
|
keyword_mode: url_param
|
|
location_mode: url_param
|
|
sort_mode: url_param
|
|
date_mode: url_param
|
|
result_list_wait_selector: ""
|
|
|
|
pagination:
|
|
mode: next_button
|
|
next_button_selectors:
|
|
- "button#page-m-next"
|
|
- "button[title='Go to next page']"
|
|
max_pages: 10
|
|
|
|
extract:
|
|
container_selectors:
|
|
- "#search-results .border.border-gray-lighter"
|
|
fields:
|
|
title:
|
|
text:
|
|
- "h2 a"
|
|
company:
|
|
text:
|
|
- "p strong"
|
|
location:
|
|
text:
|
|
- "div:nth-child(2) div:first-child p:nth-child(3)"
|
|
salary_text:
|
|
text:
|
|
- "div:nth-child(2) div:nth-child(2) p:nth-child(1)"
|
|
employment_type:
|
|
text:
|
|
- "div:nth-child(2) div:nth-child(2) p:nth-child(2)"
|
|
posted_text:
|
|
text:
|
|
- ".italic"
|
|
url:
|
|
attr:
|
|
selector: "h2 a"
|
|
name: href
|
|
|
|
search_override:
|
|
keywords:
|
|
- orthodontics
|
|
- orthodontist
|
|
multi_keyword_mode: separate
|
|
|
|
post_filters:
|
|
include_posted_text: []
|
|
include_title_keywords:
|
|
- orthodontist
|
|
- orthodontic
|
|
|
|
healthcheck:
|
|
min_items_expected: 0
|
|
required_fields:
|
|
- title
|
|
fail_if_zero_when_known_active: false
|
|
|
|
learn:
|
|
last_learned_at: null
|
|
source_url: null
|