Search jobs
thml.search.jobs
¶
Classes:
-
Indeed– -
SimplyHired– -
LinkedIn–
Indeed(country: str = 'US')
¶
Bases: _JobBase
Methods:
-
get_job_single_page–Get jobs from search result on single page
-
get_job_multi_pages–Get jobs from multi pages
-
get_job_detail–Get details of jobs from job lists
-
search_jobs–Search jobs on the website
Attributes:
-
country– -
base_url– -
browser_kwargs– -
context_kwargs– -
page– -
max_jobs– -
jobs–
country = country
instance-attribute
¶
base_url = 'https://www.indeed.com/stc'
instance-attribute
¶
browser_kwargs = {}
instance-attribute
¶
context_kwargs = {}
instance-attribute
¶
page = None
instance-attribute
¶
max_jobs = 100
instance-attribute
¶
jobs = []
instance-attribute
¶
get_job_single_page() -> list
async
¶
Get jobs from search result on single page
get_job_multi_pages() -> list
async
¶
Get jobs from multi pages
get_job_detail() -> list
async
¶
Get details of jobs from job lists
search_jobs(search_string: str = 'Molecular Dynamics Simulation', location: str = 'United States', filters: dict = None, detail: bool = False, max_jobs: int = 100)
¶
Search jobs on the website
Parameters:
-
search_string(str, default:'Molecular Dynamics Simulation') –a string to search for jobs
-
location(str, default:'United States') –location to search for jobs. A string in form "city, state, zip", or "remote"
-
filters(dict, default:None) –filters to apply. Available keys: "distance", "job_type", "min_salary", "date_posted"
-
detail(bool, default:False) –get job details or not
-
max_jobs(int, default:100) –maximum number of jobs to get
Returns:
-
–
list[dict]: list of job items
SimplyHired(country: str = 'US')
¶
Bases: _JobBase
Methods:
-
get_job_single_page–Get jobs from search result on single page
-
get_job_multi_pages–Get jobs from multi pages
-
get_job_detail–Get details of jobs from job lists
-
search_jobs–Search jobs on the website
Attributes:
-
base_url– -
jobperpage– -
browser_kwargs– -
context_kwargs– -
page– -
max_jobs– -
jobs–
base_url = 'https://www.simplyhired.com/'
instance-attribute
¶
jobperpage = 20
instance-attribute
¶
browser_kwargs = {}
instance-attribute
¶
context_kwargs = {}
instance-attribute
¶
page = None
instance-attribute
¶
max_jobs = 100
instance-attribute
¶
jobs = []
instance-attribute
¶
get_job_single_page() -> list
async
¶
Get jobs from search result on single page
get_job_multi_pages() -> list
async
¶
Get jobs from multi pages
get_job_detail() -> list
async
¶
Get details of jobs from job lists
search_jobs(search_string: str = 'Molecular Dynamics Simulation', location: str = 'United States', filters: dict = None, detail: bool = False, max_jobs: int = 100)
¶
Search jobs on the website
Parameters:
-
search_string(str, default:'Molecular Dynamics Simulation') –a string to search for jobs
-
location(str, default:'United States') –location to search for jobs. A string in form "city, state, zip", or "remote"
-
filters(dict, default:None) –filters to apply. Available keys: "distance", "job_type", "min_salary", "date_posted"
-
detail(bool, default:False) –get job details or not
-
max_jobs(int, default:100) –maximum number of jobs to get
Returns:
-
–
list[dict]: list of job items
LinkedIn(cookie_file: str = None)
¶
Bases: _JobBase
Methods:
-
get_job_single_page–Get jobs from search result on single page
-
get_job_multi_pages–Get jobs from multi pages
-
search_jobs–Search jobs on the website
Attributes:
-
base_url– -
jobperpage– -
browser_kwargs– -
context_kwargs– -
page– -
max_jobs– -
jobs–
base_url = 'https://www.linkedin.com/jobs'
instance-attribute
¶
jobperpage = 25
instance-attribute
¶
browser_kwargs = {}
instance-attribute
¶
context_kwargs = {}
instance-attribute
¶
page = None
instance-attribute
¶
max_jobs = 100
instance-attribute
¶
jobs = []
instance-attribute
¶
get_job_single_page() -> list
async
¶
Get jobs from search result on single page
get_job_multi_pages() -> list
async
¶
Get jobs from multi pages
search_jobs(search_string: str = 'Molecular Dynamics Simulation', location: str = 'United States', filters: dict = None, detail: bool = False, max_jobs: int = 100)
¶
Search jobs on the website
Parameters:
-
search_string(str, default:'Molecular Dynamics Simulation') –a string to search for jobs
-
location(str, default:'United States') –location to search for jobs. A string in form "city, state, zip", or "remote"
-
filters(dict, default:None) –filters to apply. Available keys: "distance", "job_type", "min_salary", "date_posted"
-
detail(bool, default:False) –get job details or not
-
max_jobs(int, default:100) –maximum number of jobs to get
Returns:
-
–
list[dict]: list of job items