mirror of
https://github.com/Bunsly/JobSpy.git
synced 2026-03-05 12:04:33 -08:00
32 lines
856 B
Python
32 lines
856 B
Python
"""
|
|
jobspy.scrapers.exceptions
|
|
~~~~~~~~~~~~~~~~~~~
|
|
|
|
This module contains the set of Scrapers' exceptions.
|
|
"""
|
|
|
|
|
|
class LinkedInException(Exception):
|
|
def __init__(self, message=None):
|
|
super().__init__(message or "An error occurred with LinkedIn")
|
|
|
|
|
|
class IndeedException(Exception):
|
|
def __init__(self, message=None):
|
|
super().__init__(message or "An error occurred with Indeed")
|
|
|
|
|
|
class ZipRecruiterException(Exception):
|
|
def __init__(self, message=None):
|
|
super().__init__(message or "An error occurred with ZipRecruiter")
|
|
|
|
|
|
class GlassdoorException(Exception):
|
|
def __init__(self, message=None):
|
|
super().__init__(message or "An error occurred with Glassdoor")
|
|
|
|
|
|
class GoogleJobsException(Exception):
|
|
def __init__(self, message=None):
|
|
super().__init__(message or "An error occurred with Google Jobs")
|