def parse_job_type(soup: BeautifulSoup) -> list[JobType] | None:
    """
    Gets the job type from the job page
    """
    job_type_tag = soup.find("span", class_="job-type")
    if job_type_tag:
        job_type_str = job_type_tag.get_text(strip=True).lower().replace("-", "")
        return [get_enum_from_job_type(job_type_str)] if job_type_str else None
    return None

    Gets the job type from the job page
    
jobspy/naukri/util.py