Update linkedIn_job_manager.py

This commit is contained in:
Federico 2024-08-23 23:06:06 +01:00 committed by GitHub
parent 2495990395
commit e5bcebfb8f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,7 +7,7 @@ from pathlib import Path
from selenium.common.exceptions import NoSuchElementException
from selenium.webdriver.common.by import By
import src.utils as utils
from job import Job
from src.job import Job
from src.linkedIn_easy_applier import LinkedInEasyApplier
import json
@ -217,4 +217,4 @@ class LinkedInJobManager:
title_blacklisted = any(word in job_title_words for word in self.title_blacklist)
company_blacklisted = company.strip().lower() in (word.strip().lower() for word in self.company_blacklist)
link_seen = link in self.seen_jobs
return title_blacklisted or company_blacklisted or link_seen
return title_blacklisted or company_blacklisted or link_seen